CVE-2026-71439
JSON

5.3medium

Mermaid radar diagrams are vulnerable to DoS

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rhh3-jpg6-66xh

Description

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CPU usage and freeze the rendering webpage or JavaScript process for long periods of time, potentially until the process is killed from memory exhaustion. This issue is fixed in version 11.16.1.

Affected

Product or packageVersionsReported by
mermaid-js mermaid>= 11.6.0, < 11.16.1CVE List
mermaid (npm)from 11.6.0 before 11.16.1GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L

Classification

CWE-606CWE-1322

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CPU usage and freeze the rendering webpage or JavaScript process for long periods of time, potentially until the process is killed from memory exhaustion. This issue is fixed in version 11.16.1.

GitHub Advisory Database
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?

NVD (es)

Mermaid es una herramienta de JavaScript que utiliza texto inspirado en Markdown para crear y modificar diagramas y gráficos. Desde la versión 11.6.0 hasta la 11.16.1, los diagramas de radar de Mermaid permiten valores arbitrariamente grandes para el parámetro ticks, lo que puede causar un alto uso de CPU y congelar la página web de renderizado o el proceso de JavaScript durante largos períodos de tiempo, potencialmente hasta que el proceso sea terminado por agotamiento de memoria. Este problema está solucionado en la versión 11.16.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71439 changed 2026-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-rhh3-jpg6-66xh changed 2026-09-10CC-BY-4.0
NVDCVE-2026-71439 changed 2026-10-24Public domain