CVE-2026-71436
Received Received - Intake

Denial of Service in Mermaid XY Charts via X-Axis Parameter

Vulnerability report for CVE-2026-71436, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-06

Last updated on: 2026-08-06

Assigner: GitHub, Inc.

Description

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-06
Last Modified
2026-08-06
Generated
2026-08-07
AI Q&A
2026-08-07
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
mermaid mermaid to 10.9.8 (inc)
mermaid mermaid 10.9.8
mermaid mermaid 11.16.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1325 The product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects.
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Mermaid is a JavaScript tool for creating diagrams. This vulnerability affects XY Charts in versions 10.6.0 to 10.9.7 and 11.0.0 to 11.16.0. It causes an infinite loop in the setXAxisRangeData function when invalid X-Axis parameters are provided. The loop appends elements to an array, leading to a RangeError or memory exhaustion crash.

Detection Guidance

This vulnerability is specific to Mermaid library versions between 10.6.0 and 10.9.8 or 11.16.1. Check your Mermaid version in your project dependencies or browser console. If using npm, run: npm list mermaid. If using a CDN, inspect the loaded script URL for version numbers.

Impact Analysis

This vulnerability can crash the page or JavaScript process due to memory exhaustion. It may disrupt services relying on Mermaid charts, cause downtime, or require manual intervention to recover. Users may experience unresponsive pages or application failures.

Mitigation Strategies

Upgrade Mermaid to version 10.9.8 or 11.16.1 or later. If using npm, run: npm update mermaid. For CDN users, update the script URL to the patched version. Remove any XY Charts configurations with invalid X-Axis parameters until upgraded.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-71436. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart