CVE Catalog

CVE-2026-71437

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

21th percentile - higher than 21% of all known CVEs

Summary

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams. 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.

Risk Assessment

Prototype pollution can lead to unexpected application behavior, potentially including privilege escalation or other attacks if the application uses diagram data in unsafe ways.

Recommendation

Update Mermaid to version 11.16.1 or later to prevent prototype pollution.

Other vulnerabilities in Mermaid

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS