mermaid
Affected
- introduced
0, fixed8.2.3(semver)
Fixed versions
8.2.3
Fix
- Fixed version
8.2.3npm install [email protected]
Advisory
Also known as: None
Cross-Site Scripting in mermaid
Versions of mermaid prior to 8.2.3 are vulnerable to Cross-Site Scripting. If malicious input such as A["<img src=invalid onerror=alert('XSS')></img>"] is provided to the application, it will execute the code instead of rendering it as text due to improper output encoding.
Recommendation
Upgrade to version 8.2.3 or later
High Basis: The source's own band: HIGH
0, fixed 8.2.3 (semver)8.2.3
8.2.3npm 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