1.1.3
1 months ago
27 days ago
Known vulnerabilities in the beautiful-mermaid package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
beautiful-mermaid is a Render Mermaid diagrams as beautiful SVGs or ASCII art. Ultra-fast, fully themeable, zero DOM dependencies. Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the interpolation of user-controlled values from style and classDef directives into SVG attribute values without proper escaping. An attacker can execute arbitrary scripts in the context of the embedding origin by crafting input that injects malicious SVG elements or attributes into the rendered output. How to fix Cross-site Scripting (XSS)? Upgrade | <0.1.3 |