Node mermaid: From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop
Affects node-mermaidSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 10.9.8 : update node-mermaid when convenient.
Data as of 24 Nov 2026, 21:08 UTC
- Patch
- Available – fixed in 10.9.8
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-mermaidpkg:deb/ubuntu/node-mermaid?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-mermaidpkg:deb/ubuntu/node-mermaid?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Mermaid versions 10.9.8 or 11.16.1 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated.
Description
Node Mermaid versions from 10.6.0 up to but not including 10.9.8, and version 11.16.1, contain a vulnerability in the Mermaid XY Charts component. The vulnerability is an infinite loop denial of service triggered by configuring the X-Axis with invalid parameters in the setXAxisRangeData function. This causes continuous appending to an array, leading to a RangeError or potential crash due to memory exhaustion. The issue is fixed in versions 10.9.8 and 11.16.1.
References
- ubuntu.com/security/CVE-2026-71436 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71436 (opens in a new tab)
- github.com/mermaid-js/mermaid/security/advisories/GHSA-2v8p-3f2j-5mp7 (opens in a new tab)
- github.com/mermaid-js/mermaid/commit/630aa7e5dd417e1f56bff2a1ce8df2c5ad08d289 (opens in a new tab)
- github.com/mermaid-js/mermaid/commit/ef60adc837d9d5107af21285f01e83dea309bd0a (opens in a new tab)
- github.com/mermaid-js/mermaid/pull/8022 (opens in a new tab)
- github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1 (opens in a new tab)
- github.com/mermaid-js/mermaid/releases/tag/v10.9.8 (opens in a new tab)