Advisory

GHSA-rhh3-jpg6-66xh

Also known as: CVE-2026-71439

Summary

Mermaid radar diagrams are vulnerable to DoS

Details

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

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-06 20:01 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

mermaid

npm · All systems

Affected

  • introduced 11.6.0, fixed 11.16.1 (semver)

Fixed versions

11.16.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences