GitHub Advisoryadvisory · npm

GHSA-rhh3-jpg6-66xh Mermaid radar diagrams are vulnerable to DoS

MEDIUM Published 2026-08-06 Modified 2026-08-06 Official page ↗
Aliases
CVE-2026-71439
Ecosystem
npm
Packages
mermaid
Severity
Moderate
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
Weaknesses
CWE-1322, CWE-606
Reviewed
2026-08-06

Affected packages

• npm mermaid: >= 11.6.0, < 11.16.1 → fixed in 11.16.1

Description

Impact Mermaid radar diagrams allow arbitrary large values for `ticks`, which can cause high CPU usage, freezing the webpage/JavaScript process for long periods of time, until the process is eventually killed due to OOM/running out of memory. Proof-of-concept ```txt radar-beta axis a, b curve c {1, 1} ticks 1000000000 ``` Patches _Has the problem been patched? What versions should users upgrade to?_ This problem has been patched by https://github.com/mermaid-js/mermaid/commit/59b22fad2b3bb04f87a476c84a8a2b24679e607e, which was released in Mermaid v11.16.1 Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ There are no known workarounds without updating to a patched version of mermaid. References _Are there any links users can visit to find out more?_ • https://github.com/mermaid-js/mermaid/commit/59b22fad2b3bb04f87a476c84a8a2b24679e607e • https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1

Related

Alias · CVE (1)

  • CVE-2026-71439 Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. vulnerability

Weakness · CWE (2)

  • CWE-1322 Use of Blocking Code in Single-threaded, Non-blocking Context weakness
  • CWE-606 Unchecked Input for Loop Condition weakness

References