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.
Published: 2026-08-06
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Mermaid Radar Diagrams can accept arbitrarily large values for the ticks parameter, which causes the rendering engine to consume excessive CPU resources and can freeze the webpage or JavaScript process for extended periods. The weakness stems from inadequate input validation (CWE-1322), unchecked user input (CWE-606), and uncontrolled resource consumption (CWE-1050), allowing an attacker-controlled diagram definition to trigger a denial of service. The impact is limited to the context where a vulnerable Mermaid instance renders the diagram, potentially disrupting user experience or exhausting memory if the process is killed for resource exhaustion.

Affected Systems

The vulnerability affects mermaid-js:mermaid versions 11.6.0 through 11.16.1. Versions prior to 11.6.0 and 11.16.1 or later are not impacted. Affected users should verify the installed version against the range and apply the patch when available.

Risk and Exploitability

With a CVSS score of 5.3 the risk is considered moderate. The EPSS score is < 1%, indicating a very low probability of exploitation, and the vulnerability is not listed in CISA KEV, which suggests no widespread exploitation yet. The exploit is generally local or remote via a malicious diagram; an attacker can embed a large ticks value in a document or webpage that a user’s browser renders, leading to high CPU usage and a denial of service for that user. In high-traffic scenarios, the cumulative effect could degrade service quality for many users at once.

Generated by OpenCVE AI on August 11, 2026 at 02:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade mermaid to version 11.16.1 or later.
  • If upgrading is not immediately possible, validate or bound the ticks parameter before passing it to Mermaid, ensuring it remains within a reasonable limit.
  • Configure resource limits or monitor CPU usage for the JavaScript rendering process to prevent complete system resource exhaustion due to excessive diagram rendering.

Generated by OpenCVE AI on August 11, 2026 at 02:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rhh3-jpg6-66xh Mermaid radar diagrams are vulnerable to DoS
History

Tue, 11 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1050
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Mermaid Project
Mermaid Project mermaid
Vendors & Products Mermaid Project
Mermaid Project mermaid

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title Mermaid radar diagrams are vulnerable to DoS
Weaknesses CWE-1322
CWE-606
References
Metrics cvssV4_0

{'score': 5.3, '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'}


Subscriptions

Mermaid Project Mermaid
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T17:09:23.203Z

Reserved: 2026-08-06T16:28:51.183Z

Link: CVE-2026-71439

cve-icon Vulnrichment

Updated: 2026-08-07T15:26:19.821Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:31.023

Modified: 2026-08-07T18:17:23.650

Link: CVE-2026-71439

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-06T20:01:04Z

Links: CVE-2026-71439 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T02:15:03Z

Weaknesses
  • CWE-1050

    Excessive Platform Resource Consumption within a Loop

  • CWE-1322

    Use of Blocking Code in Single-threaded, Non-blocking Context

  • CWE-606

    Unchecked Input for Loop Condition