CVE Catalog

CVE-2026-71436

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

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

Summary

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

Risk Assessment

An attacker can cause a denial of service (DoS) by supplying a malicious diagram with invalid X-axis parameters, potentially freezing or crashing the page or JavaScript process.

Recommendation

Update Mermaid to version 10.9.8 or 11.16.1 (or later) to mitigate the vulnerability.

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 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.

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