CVE-2026-71438Mermaid configuration APIs allow prototype pollution
- 2.4LowCVSS base score
- 0.35%Exploitation in 30 daysEPSS · top 70% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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) merge caller-supplied configuration into Mermaid's internal config using the assignWithDepth deep-merge helper, which is vulnerable to prototype pollution. This is only exploitable if an application forwards untrusted data directly into one of these configuration entry points, which is outside their documented usage; diagram-supplied configuration (e.g. %%{init: {}}%% or YAML frontmatter) is not affected. This issue is fixed in versions 10.9.8 and 11.16.1.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Low2.4 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H |
| NVDNVD · Awaiting Analysis | 4.0 | Low2.4 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/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 |
- EPSS (exploitation in 30 days)
- 0.35% · top 70% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.4.
Affected products
- affected < 10.9.8
- affected >= 11.0.0-alpha.1, < 11.16.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmmermaidGHSA-c4c3-pg64-4m4v (opens in a new tab)
References
References6
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-c4c3-pg64-4m4v (opens in a new tab)x_refsource_CONFIRM
- https://github.com/mermaid-js/mermaid/pull/8022 (opens in a new tab)x_refsource_MISC
- https://github.com/mermaid-js/mermaid/commit/2cd6dcf735533b323507e3e889ffdea870540b43 (opens in a new tab)x_refsource_MISC
- https://github.com/mermaid-js/mermaid/commit/c34b07a0815842327e70794d69b0c8c5a1e2a956 (opens in a new tab)x_refsource_MISC
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1 (opens in a new tab)x_refsource_MISC
- https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-54244 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c4c3-pg64-4m4v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-71438)Record last updated .