CVE-2026-71438CWE-1321

CVE-2026-71438

published August 7, 2026

CVSS
2.4
EPSS
0%
Percentile
27.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
2.4 · NONE
CVSS v4.0
Not supplied
EPSS
0.00353 · 27.8th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2026-08-07T02:18Z
References (6)
EPSS history
Timeline
  • 06 AUG 19:59Z
    Mermaid configuration APIs allow prototype pollution
    cvelistv5