CVE-2026-71436
Mermaid XY Charts are vulnerable to an infinite loop DoS
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-835 CWE-1325 |
| Vendor | mermaid-js |
| Product | mermaid |
| Published | Aug 6, 2026 |
Stay Ahead of the Next One
Get instant alerts for mermaid-js mermaid
Be the first to know when new unknown vulnerabilities affecting mermaid-js mermaid are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
mermaid-js / mermaid
>= 10.6.0, < 10.9.8 >= 11.0.0-alpha.1, < 11.16.1
References
github.com: https://github.com/mermaid-js/mermaid/security/advisories/GHSA-2v8p-3f2j-5mp7 github.com: https://github.com/mermaid-js/mermaid/pull/8022 github.com: https://github.com/mermaid-js/mermaid/commit/630aa7e5dd417e1f56bff2a1ce8df2c5ad08d289 github.com: https://github.com/mermaid-js/mermaid/commit/ef60adc837d9d5107af21285f01e83dea309bd0a github.com: https://github.com/mermaid-js/mermaid/releases/tag/[email protected] github.com: https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8