CVE-2026-71437mermaid-js mermaid
Medium 6.5
Follow: this CVE · mermaid-js · mermaid-js mermaid We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 4.0
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 6, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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 with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.
What to do
- Apply the vendor's security update for mermaid.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mermaid |
≥ 11.5.0 < 11.16.1 |
11.16.1 |
npm install mermaid@11.16.1 |
Per OSV / GitHub Advisories (GHSA-3rrr-jr9j-h3q3). Check the version in your lockfile before upgrading.
Affected products
- mermaid-js · mermaid
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.