Live threats

All CVEs / mermaid-js

CVE-2026-71437mermaid-js mermaid

Medium 6.5

Priority
39
CVSS 4.0
6.5
EPSS
—
Auth required
Yes
Published
Aug 6, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for mermaid.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mermaid ≥ 11.5.0 < 11.16.1 11.16.1 npm install mermaid@11.16.1

Per OSV / GitHub Advisories (GHSA-3rrr-jr9j-h3q3). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.