mermaid
npm14 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.1fixed 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.2fixed 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.1fixed 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.1fixed 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.3fixed in 11.10.0 or 10.9.4, by version range2025-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.3fixed in 11.15.0 or 10.9.6, by version range2026-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.3fixed in 11.15.0 or 10.9.6, by version range2026-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.3fixed in 11.15.0 or 10.9.6, by version range2026-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.3fixed in 11.15.0 or 10.9.6, by version range2026-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 …
- CVE-2026-50159MEDIUMCVSS 5.3EG 5.3fixed in 11.16.1 or 10.9.8, by version range2026-08-06
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid is vulnerable to CSS injection via sibling combinator selectors generated from diagram-supplied cl…
- CVE-2026-71436MEDIUMCVSS 5.3EG 5.3fixed in 10.9.8 or 11.16.1, by version range2026-08-06
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRan…
- CVE-2026-71437MEDIUMCVSS 6.5EG 6.5fixed in 11.16.12026-08-06
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group w…
- CVE-2026-71438LOWCVSS 2.4EG 2.4fixed in 11.16.1 or 10.9.8, by version range2026-08-06
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid's configuration setters (mermaid.initialize, mermaidAPI.setConfig, and mermaidAPI.updateSiteConfig…
- CVE-2026-71439MEDIUMCVSS 5.3EG 5.3fixed in 11.16.12026-08-06
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CP…
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.
Book a Demo →