CVE-2026-71438

Mermaid configuration APIs allow prototype pollution

LOW
2.4
CVSS Score
Published: August 6, 2026 at 07:59 PM UTC
Updated: October 24, 2026 at 03:10 PM UTC
1 product affected across 1 vendorMermaid

Using mermaid by mermaid-js?

Get instant alerts when new vulnerabilities affect mermaid - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.4
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 10.9.8>= 11.0.0-alpha.1, < 11.16.1
Affected range stops below 10.9.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 11.16.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.4LOWGitHub_M
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-1321

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card