Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. diagram-js-direct-editing
  4. ›
  5. GMS-2020-227

GMS-2020-227: Cross-Site Scripting in diagram-js-direct-editing

September 11, 2020 (updated September 28, 2021)

Versions of diagram-js-direct-editing are vulnerable to Cross-Site Scripting. The package fails to sanitize input from the clipboard, allowing attackers to execute arbitrary JavaScript in the victim’s browser. Upgrade to or later.

References

  • github.com/advisories/GHSA-j8r2-2x94-2q67
  • github.com/bpmn-io/diagram-js-direct-editing
  • www.npmjs.com/advisories/983

Code Behaviors & Features

Detect and mitigate GMS-2020-227 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.3

Fixed versions

  • 1.4.3

Solution

Upgrade to version 1.4.3 or above.

Source file

npm/diagram-js-direct-editing/GMS-2020-227.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:37 +0000.