CVE-2026-71437
MEDIUMMermaid Architecture diagrams are vulnerable to prototype pollution
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3
X_Refsource_Misc x_refsource_misc
https://github.com/mermaid-js/mermaid/pull/8022
X_Refsource_Misc x_refsource_misc
https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf
X_Refsource_Misc x_refsource_misc
https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1
Scores
CVSS v4
6.5
EPSS
0.0029
EPSS Percentile
21.2%
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
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1321
Status
published
Products (2)
mermaid-js/mermaid
>= 11.5.0, < 11.16.1
npm/mermaid
11.5.0 - 11.16.1npm
Published
Aug 06, 2026
Tracked Since
Aug 07, 2026