CVE-2026-71437 Mermaid Architecture diagrams are vulnerable to prototype pollution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
8 packages: 1 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-mermaid(Debian 14) | = 8.7.0+ds+~cs27.17.17-1; = 8.7.0+ds+~cs27.17.17-2; = 8.7.0+ds+~cs27.17.17-2~bpo10+1; = 8.7.0+ds+~cs27.17.17-3 +13 more | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/rh-podman-desktop.git(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/node-mermaid(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-mermaid(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| npm mermaid(npm) | >= 11.5.0, < 11.16.1 | 11.16.1 | Fixed |
| mermaid-js mermaid | = >= 11.5.0, < 11.16.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mermaid-js mermaid | = >= 11.5.0, < 11.16.1 | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| npm mermaid(npm) | >= 11.5.0, < 11.16.1 | 11.16.1 |
| debian/node-mermaid(Debian:14) | All versions | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.11.0+ds+~cs29.13.22-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.2+ds+~cs30.13.21-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.2+ds+~cs30.13.21-1.1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.3+ds+~cs26.13.21-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.3+ds+~cs26.13.21-2 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.8+~cs10.4.16-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.14.0+ds1+~cs11.4.14-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.14.0+~cs11.4.14-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-2 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-2~bpo10+1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-3 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.9.1+ds+~cs26.20.25-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.9.3+ds+~cs29.13.19-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 9.2.2+~2.0.0-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 9.2.2+~2.0.0-2 | No fix listed |
| ubuntu/node-mermaid(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-mermaid(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3 exploit vendor-advisory
- https://github.com/mermaid-js/mermaid/pull/8022 patch
- https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf patch
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2512224 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-71437 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-54242 third-party-advisory