CVE-2026-71436
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.3
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
- EPSS probability
- 0.41%
- CWE
- CWE-835, CWE-1325
- Published
- 2026-08-06
- Last modified
- 2026-08-07
Affected products
- mermaid-js mermaid
- mermaid-js mermaid
Weakness type
Related vulnerabilities
- CVE-2026-88002 — Open WebUI: Any authenticated user can hang the server via a cyclic chat message history
- CVE-2026-88000 — Open WebUI: Any authenticated user can hang the server via message deletion in a cyclic chat tree
- CVE-2026-87013 — Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
- CVE-2026-6554 — infinte loop in libpcap before 1.10.7
- CVE-2026-85730 — smol-toml: Denial of Service via malformed TOML documents
- CVE-2026-78543 — IBM App Connect Enterprise and IBM Integration Bus for z/OS Adapter nodes are vulnerable to multiple CVEs
- CVE-2026-84309 — pypdf: Possible infinite loop for TreeObject.insert_child
- CVE-2026-82605 — BareBones BBEdit Lasso Language Tokenizer infinite loop