UnratednpmAmendedPublished
Cross-Site Scripting in diagram-js-direct-editing
GHSA-j8r2-2x94-2q67
- Affected
- npm diagram-js-direct-editing < 1.4.3
- Fixed in
- 1.4.3· Vendor fix available
- Issue
- Versions of diagram-js-direct-editing prior to 1.4.3 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. Recommendation Upgrade to version 1.4.3 or later.
Recommended action: Upgrade to 1.4.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.