mermaid
npm9 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting mermaidpage 1 of 1
- CVE-2021-35513MEDIUMCVSS 6.1EG 6.1✓ Fixed in 8.11.02021-06-27
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
- CVE-2021-43861HIGHCVSS 7.2EG 7.2✓ Fixed in 8.13.82021-12-30
Mermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. Prior to version 8.13.8, malicious diagrams can run javascript code at diagram r…
- CVE-2022-31108MEDIUMCVSS 4.1EG 4.1✓ Fixed in 9.1.22022-06-28
Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. An attacker is able to inject arbitrary `CSS` into the generated graph allowing …
- CVE-2025-54880MEDIUMCVSS 6.1EG 6.1✓ Fixed in 11.10.02025-08-19
Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 11.9.0 and earlier, user supplied input …
- CVE-2025-54881MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.9.42025-08-19
Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 10.9.0-rc.1 to 11.9.0, user supplied inp…
- CVE-2026-41148MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.9.62026-05-22
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Versions 10.9.5 and prior, in addition to 11.0.0-alpha.1 through 11.12.0 are vulnerable to CSS injection through improper sanitization.…
- CVE-2026-41149MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.9.62026-05-22
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Versions 10.9.5 and earlier, as well as 11.0.0-alpha.1 through 11.14.0, are vulnerable to HTML injection under the default configuratio…
- CVE-2026-41150MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.9.62026-05-29
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exc…
- CVE-2026-41159MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.9.62026-05-29
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, Mermaid's default configuration allows injecting CSS that applies outside of the Mermaid diagram via the …
Check whether mermaid is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for mermaid CVEs against the assets you own.
Start Free Scan →