Technology · npm
mermaid (npm) vulnerabilities
Updated . Rebuilt every hour.
Junglewise Threat Intelligence has tracked 16 vulnerabilities in mermaid (npm): 0 in the last 7 days and 0 in the last 90 days, 0 of them critical and 0 exploited in the wild. The most recent, CVE-2026-71439, was published on 6 August 2026.
- Last 7 days
- 0
- Last 90 days
- 0
- Critical, all time
- 0
- Exploited in the wild
- 0
About mermaid (npm)
JavaScript library for creating diagrams and flowcharts from markdown-like syntax.
Latest mermaid (npm) vulnerabilities
- CVE-2026-71439: Mermaid radar diagrams denial of service via unchecked ticks inputmediumCVSS 4EPSS 0.5%
- CVE-2026-71438: Mermaid prototype pollution in configuration APIsmediumCVSS 4EPSS 0.4%
- CVE-2026-71437: Mermaid prototype pollution in architecture-beta diagramsmediumCVSS 4EPSS 0.5%
- CVE-2026-71436: Mermaid infinite loop in XY Charts axis processingmediumCVSS 4EPSS 0.6%
- CVE-2026-50159: Mermaid CSS injection via sibling combinatorsmediumCVSS 4EPSS 0.6%
- CVE-2026-41159: Mermaid CSS injection via configuration optionsmediumCVSS 4EPSS 0.5%
- CVE-2026-41150: Mermaid infinite loop denial of service in Gantt chartsmediumCVSS 5.3EPSS 0.5%
- CVE-2026-41149: Mermaid HTML injection in state diagram classDefmediumCVSS 4EPSS 0.5%
- CVE-2026-41148: Mermaid CSS injection in class definitionsmediumCVSS 4EPSS 0.6%
- CVE-2025-54881: Mermaid XSS in sequence diagram labelsmediumCVSS 4EPSS 0.8%
- CVE-2025-54880: Mermaid improper sanitization of architecture diagram iconText leading to XSSmediumCVSS 4EPSS 0.4%
- Mermaid prototype pollution in bundled DOMPurifylowCVSS 3.1
- CVE-2022-31108: Mermaid.js CSS injection via theme variableslowCVSS 3.1EPSS 0.9%
- CVE-2021-43861: Mermaid incorrect sanitization leading to XSSlowCVSS 3.1EPSS 0.9%
- CVE-2021-35513: Mermaid cross-site scripting in antiscript featurelowCVSS 3.1EPSS 1.0%
- mermaid cross-site scripting in diagram renderinginfo
Most severe mermaid (npm) vulnerabilities
Exploited in the wild first, then by severity and CVSS score.
- CVE-2026-41150: Mermaid infinite loop denial of service in Gantt chartsmediumCVSS 5.3EPSS 0.5%
- CVE-2025-54881: Mermaid XSS in sequence diagram labelsmediumCVSS 4EPSS 0.8%
- CVE-2026-50159: Mermaid CSS injection via sibling combinatorsmediumCVSS 4EPSS 0.6%
- CVE-2026-41148: Mermaid CSS injection in class definitionsmediumCVSS 4EPSS 0.6%
- CVE-2026-71436: Mermaid infinite loop in XY Charts axis processingmediumCVSS 4EPSS 0.6%
- CVE-2026-41159: Mermaid CSS injection via configuration optionsmediumCVSS 4EPSS 0.5%
- CVE-2026-71439: Mermaid radar diagrams denial of service via unchecked ticks inputmediumCVSS 4EPSS 0.5%
- CVE-2026-41149: Mermaid HTML injection in state diagram classDefmediumCVSS 4EPSS 0.5%
- CVE-2026-71437: Mermaid prototype pollution in architecture-beta diagramsmediumCVSS 4EPSS 0.5%
- CVE-2025-54880: Mermaid improper sanitization of architecture diagram iconText leading to XSSmediumCVSS 4EPSS 0.4%
Vulnerabilities per week
Nothing was published in the last eight weeks. The last 13 weeks, by the week each vulnerability was published.
| Week of | Bar | Vulns | Critical |
|---|---|---|---|
| 17 Aug 2026 | 0 | 0 | |
| 24 Aug 2026 | 0 | 0 | |
| 31 Aug 2026 | 0 | 0 | |
| 7 Sep 2026 | 0 | 0 | |
| 14 Sep 2026 | 0 | 0 | |
| 21 Sep 2026 | 0 | 0 | |
| 28 Sep 2026 | 0 | 0 | |
| 5 Oct 2026 | 0 | 0 | |
| 12 Oct 2026 | 0 | 0 | |
| 19 Oct 2026 | 0 | 0 | |
| 26 Oct 2026 | 0 | 0 | |
| 2 Nov 2026 | 0 | 0 | |
| 9 Nov 2026 | 0 | 0 |
Embed a badge
A live badge for a README, a status page or an internal wiki: how many mermaid (npm) vulnerabilities were published in the last 7 days and how many of them are critical, refreshed hourly.
[](https://junglewise.ai/threats/technologies/mermaid)<a href="https://junglewise.ai/threats/technologies/mermaid"><img src="https://junglewise.ai/threats/technologies/mermaid/badge.svg" alt="mermaid (npm) vulnerabilities" /></a>How this is built
Junglewise Threat Intelligence collects vulnerabilities from NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories, and matches each one to the technologies and vendors it affects. Dates are the date a vulnerability was published, in UTC.
The pages are rebuilt from the database every hour. Frozen weekly and monthly reports never change once published, so they can be cited.
Use this data
The same data is at https://junglewise.ai/threats/technologies/mermaid.json, and this page as text at https://junglewise.ai/threats/technologies/mermaid.md, for scripts and language models. It is free to reuse under CC BY 4.0 with a link back to this page.
Cite as: Junglewise Threat Intelligence, "mermaid (npm) vulnerabilities", https://junglewise.ai/threats/technologies/mermaid, 13 November 2026.