CVE-2026-71437 json
Mermaid Architecture diagrams are vulnerable to prototype pollution
published 3mo ago modified 18d ago also EUVD-2026-54242 , GHSA-3rrr-jr9j-h3q3
- cvss
- 6.5
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm mermaid 11.16.1
- mermaid_project mermaid 11.16.1
Is CVE-2026-71437 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-71437 updated cvss 5.4
mermaid: Mermaid: Prototype pollution vulnerability allows potential arbitrary code execution
-
Red Hat Build of Podman Desktop rh-podman-desktop.git 1.1.0 Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.5 | 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 |
| CNA | 4.0 | 6.5 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mermaid | >=11.5.0, <11.16.1 |
11.16.1 |
Affected products
- mermaid-js mermaid
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/mermaid-js/mermaid/pull/8022
web
-
github.com
/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf
web
-
github.com
/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3
exploit, web, advisory
-
github.com
/mermaid-js/mermaid/releases/tag/mermaid@11.16.1
web
-
github.com
/mermaid-js/mermaid
package
Sources
- CVE List CVE-2026-71437
- GitHub Advisory GHSA-3rrr-jr9j-h3q3
- NVD CVE-2026-71437
- Maintainer advisory GHSA-3rrr-jr9j-h3q3
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of mermaid-js/mermaid published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.