Advisory

GHSA-j8r2-2x94-2q67

Also known as: None

Summary

Cross-Site Scripting in diagram-js-direct-editing

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-11 21:19 UTC
Modified
2021-09-28 16:59 UTC

Affected packages and fixes

diagram-js-direct-editing

npm · All systems

Affected

  • introduced 0, fixed 1.4.3 (semver)

Fixed versions

1.4.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences