Node mermaid: From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution
Affects node-mermaidSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 11.16.1 : update node-mermaid when convenient.
Data as of 24 Nov 2026, 21:08 UTC
- Patch
- Available – fixed in 11.16.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-mermaidpkg:deb/ubuntu/node-mermaid?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-mermaidpkg:deb/ubuntu/node-mermaid?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade node-mermaid to version 11.16.1 or later, where this prototype pollution vulnerability is fixed. No other mitigation is indicated or required.
Description
Node-mermaid versions from 11.5.0 up to and including 11.16.0 are vulnerable to prototype pollution via Mermaid Architecture Diagrams. The vulnerability occurs when a diagram defines a group with an id of __proto__, which is used directly as an object property key without validation. This allows an attacker supplying diagram text to pollute Object.prototype, potentially altering the behavior of the embedding application. The issue is fixed in version 11.16.1.
References
- ubuntu.com/security/CVE-2026-71437 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71437 (opens in a new tab)
- github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3 (opens in a new tab)
- github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf (opens in a new tab)
- github.com/mermaid-js/mermaid/pull/8022 (opens in a new tab)
- github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1 (opens in a new tab)