{"id":"CVE-2026-71437","published":"2026-08-06T19:51:52Z","modified":"2026-08-07T17:37:35Z","title":"Mermaid Architecture diagrams are vulnerable to prototype pollution","vendor":"mermaid-js","product":"mermaid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43963,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mermaid-js/mermaid/pull/8022","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.79},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mermaid-js","affectedVersions":[{"vendor":"mermaid-js","product":"mermaid","versions":[">= 11.5.0, < 11.16.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T17:37:12.586066Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mermaid","vulnerableRanges":[">=11.5.0, <11.16.1"],"patched":["11.16.1"],"from":["GHSA-3rrr-jr9j-h3q3"],"provenance":"source"}],"summary":{"text":"The flaw is a prototype pollution weakness in the Architecture diagram component of mermaid-js's Mermaid tool, where a group id of __proto__ is used unvalidated as an object property key. An attacker who can supply diagram text and holds low-privilege access, with no user interaction required, can pollute Object.prototype, which may affect the behavior of the application embedding Mermaid.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:53Z"},"euvd":{"id":"EUVD-2026-54242","exploited":false,"provenance":"source"}}