CVE-2026-71438 json
Mermaid configuration APIs allow prototype pollution
published 3mo ago modified 18d ago also EUVD-2026-54244 , GHSA-c4c3-pg64-4m4v
- cvss
- 2.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid's configuration setters (mermaid.initialize, mermaidAPI.setConfig, and mermaidAPI.updateSiteConfig) merge caller-supplied configuration into Mermaid's internal config using the assignWithDepth deep-merge helper, which is vulnerable to prototype pollution. This is only exploitable if an application forwards untrusted data directly into one of these configuration entry points, which is outside their documented usage; diagram-supplied configuration (e.g. %%{init: {}}%% or YAML frontmatter) is not affected. This issue is fixed in versions 10.9.8 and 11.16.1.
Patch / fix
- npm mermaid 10.9.8, 11.16.1
- mermaid_project mermaid 10.9.8, 11.16.1
Is CVE-2026-71438 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-71438 updated cvss 4.0
mermaid: Mermaid: Prototype pollution vulnerability via configuration APIs
-
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: 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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.4 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H |
| CNA | 4.0 | 2.4 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/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.0.0-alpha.1, <11.16.1 <10.9.8 |
11.16.1 10.9.8 |
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/2cd6dcf735533b323507e3e889ffdea870540b43
web
-
github.com
/mermaid-js/mermaid/commit/c34b07a0815842327e70794d69b0c8c5a1e2a956
web
-
github.com
/mermaid-js/mermaid/security/advisories/GHSA-c4c3-pg64-4m4v
web, advisory
-
github.com
/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1
web
-
github.com
/mermaid-js/mermaid/releases/tag/v10.9.8
web
-
github.com
/mermaid-js/mermaid
package
Sources
- CVE List CVE-2026-71438
- GitHub Advisory GHSA-c4c3-pg64-4m4v
- NVD CVE-2026-71438
- Maintainer advisory GHSA-c4c3-pg64-4m4v
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.