GHSA-cgmm-x5ww-q5cr · Severity: medium · Ecosystem: npm — beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS)
beautiful-mermaid versions prior to 0.1.3 contain an SVG attribute injection issue that can lead to cross-site scripting (XSS) when rendering attacker-controlled Mermaid diagrams. User-controlled values from Mermaid style and classDef directives are interpolated into SVG attribute values without proper escaping, allowing crafted input to break out of an attribute context and inject arbitrary SVG elements/attributes into the rendered output. When the generated SVG is embedded in a web page, this can result in script execution in the context of the embedding origin.
Conclusion & alert: CVE-2026-26226 is rated Low Risk (35.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.51%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.51% | +0.48% |
| 2 | 2026-02-18 | 0.07% | 0.02% | -0.05% |
| 3 | 2026-02-14 | — | 0.07% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
GHSA-cgmm-x5ww-q5cr · Severity: medium · Ecosystem: npm — beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS)
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||