# CVE-2026-71437: Mermaid Architecture diagrams are vulnerable to prototype pollution

- Severity: Medium 6.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-06T19:51:52.975Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-3rrr-jr9j-h3q3
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mermaid-js mermaid: >= 11.5.0, < 11.16.1
- mermaid (npm): from 11.5.0 before 11.16.1

## Every score

- GitHub_M: CVSS:4.0 6.5 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3> (exploit, web)
- <https://github.com/mermaid-js/mermaid/pull/8022> (web)
- <https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf> (web)
- <https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1> (web)
- <https://github.com/mermaid-js/mermaid> (package)

## Sources

- CVE List: [CVE-2026-71437](https://www.cve.org/CVERecord?id=CVE-2026-71437), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-3rrr-jr9j-h3q3](https://github.com/advisories/GHSA-3rrr-jr9j-h3q3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-71437](https://nvd.nist.gov/vuln/detail/CVE-2026-71437), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71437 · Whole record: https://cve.day/CVE-2026-71437.json · Rebuilt by cve.day 2026-11-25T22:59:31.810Z
