Medium severityNVD Advisory· Published Aug 6, 2026
CVE-2026-71436
CVE-2026-71436
Description
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mermaidnpm | >= 10.6.0, < 10.9.8 | 10.9.8 |
mermaidnpm | >= 11.0.0-alpha.1, < 11.16.1 | 11.16.1 |
Affected products
1- Range: <11.16.1 and <10.9.8
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-2v8p-3f2j-5mp7ghsaADVISORY
- github.com/mermaid-js/mermaid/commit/630aa7e5dd417e1f56bff2a1ce8df2c5ad08d289nvdWEB
- github.com/mermaid-js/mermaid/commit/ef60adc837d9d5107af21285f01e83dea309bd0anvdWEB
- github.com/mermaid-js/mermaid/pull/8022nvdWEB
- github.com/mermaid-js/mermaid/releases/tag/[email protected]nvdWEB
- github.com/mermaid-js/mermaid/releases/tag/v10.9.8nvdWEB
- github.com/mermaid-js/mermaid/security/advisories/GHSA-2v8p-3f2j-5mp7nvdWEB
News mentions
0No linked articles in our index yet.