CVE-2026-71438
Last modified
CVE-2026-71438 is a low-severity vulnerability rated 2.4/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mermaid-js | mermaid | < 10.9.8; >= 11.0.0-alpha.1, < 11.16.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71438?
How severe is CVE-2026-71438?
How do I fix CVE-2026-71438?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71430node-re2 provides RE2 regular expression bindings for Node.j…6.2
- CVE-2026-71433LangGraph Checkpoint Postgres and SQLite Checkpoint are the …5.3
- CVE-2026-71434Statamic is a Laravel and Git powered content management sys…5.3
- CVE-2026-71435Statamic is a Laravel and Git powered content management sys…6.1
- CVE-2026-71436Mermaid is a JavaScript tool that uses Markdown-inspired tex…5.3
- CVE-2026-71437Mermaid is a JavaScript tool that uses Markdown-inspired tex…6.5
- CVE-2026-71439Mermaid is a JavaScript tool that uses Markdown-inspired tex…5.3
- CVE-2026-7144A security flaw has been discovered in 1000 Projects Portfol…4.3
- CVE-2026-71445AIL Framework contained a reflected cross-site scripting vul…8.2
- CVE-2026-71446AIL Framework contains a stored cross-site scripting vulnera…6.9
- CVE-2026-71447AIL Project contains a stored cross-site scripting vulnerabi…6.9
- CVE-2026-7145A weakness has been identified in mettle sendportal up to 3.…5.4
Are you affected by CVE-2026-71438?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
