diagram-js
Affected
- introduced
0, fixed2.6.2(semver)
Fixed versions
2.6.2
Fix
- Fixed version
2.6.2npm install [email protected]
Advisory
Also known as: None
Cross-Site Scripting in diagram-js
Versions of diagram-js prior to 3.3.1 (for 3.x) and 2.6.2 (for 2.x) are vulnerable to Cross-Site Scripting. The package fails to escape output of user-controlled input in search-pad, allowing attackers to execute arbitrary JavaScript.
Recommendation
If you are using diagram-js 3.x, upgrade to version 3.3.1.
If you are using diagram-js 2.x, upgrade to version 2.6.2.
Medium Basis: The source's own band: MODERATE
0, fixed 2.6.2 (semver)2.6.2
2.6.2npm install [email protected]3.0.0, fixed 3.3.1 (semver)3.3.1
3.3.1npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0