CVE-2026-71436
Published:August 06, 2026
Updated:August 16, 2026
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.
Affected Packages
mermaid (CDN_JS):
Affected version(s) >=11.0.0-alpha.1 <11.16.1Fix Suggestion:
Update to version 11.16.1mermaid (CDN_JS):
Affected version(s) >=10.6.0 <10.9.8Fix Suggestion:
Update to version 10.9.8https://github.com/mermaid-js/mermaid.git (GITHUB):
Affected version(s) >=mermaid@11.0.1 <mermaid@11.16.1Fix Suggestion:
Update to version mermaid@11.16.1https://github.com/mermaid-js/mermaid.git (GITHUB):
Affected version(s) >=v10.6.0 <v10.9.8Fix Suggestion:
Update to version v10.9.8mermaid (NPM):
Affected version(s) >=10.6.0 <10.9.8Fix Suggestion:
Update to version 10.9.8mermaid (NPM):
Affected version(s) >=11.0.0-alpha.1 <11.16.1Fix Suggestion:
Update to version 11.16.1Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
LOW
Exploit Maturity
NOT DEFINED
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.33