Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71436: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in mermaid-js mermaid

0
Medium
VulnerabilityCVE-2026-71436cvecve-2026-71436cwe-835cwe-1325
Published: 08/06/2026 (08/06/2026, 19:49:44 UTC)
Source: CVE Database V5
Vendor/Project: mermaid-js
Product: mermaid

Description

Mermaid versions from 10.6.0 up to but not including 10.9.8 and version 11.16.1 are affected by an infinite loop vulnerability in the setXAxisRangeData function when invalid parameters are used to configure the X-Axis. This can cause a denial of service due to memory exhaustion or a RangeError. The issue is fixed in versions 10.9.8 and 11.16.1.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
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

Affected software

mermaid-js/mermaid
pkg:npm/mermaid-js/mermaid
Affected versions
>=10.6.0 <10.9.8=11.16.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 22:28:31 UTC

Technical Analysis

Mermaid, a JavaScript tool for creating diagrams and charts, has an infinite loop vulnerability (CWE-835) in its XY Charts feature affecting versions 10.6.0 through 10.9.7 and 11.16.0. The vulnerability occurs in the setXAxisRangeData function when invalid parameters are passed for the X-Axis configuration. Each iteration of the loop appends elements to an array without a reachable exit condition, leading to a denial of service via memory exhaustion or a RangeError. This flaw is resolved in versions 10.9.8 and 11.16.1.

Potential Impact

Exploitation of this vulnerability can cause the JavaScript process or page to crash due to memory exhaustion or trigger a RangeError, resulting in denial of service. There is no indication of privilege escalation or data compromise. The impact is limited to availability disruption.

Mitigation Recommendations

This vulnerability is fixed in Mermaid versions 10.9.8 and 11.16.1. Users should upgrade to these versions or later to remediate the issue. No other mitigation or workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-06T16:28:51.183Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a75070fbf8831d5395f5dcd

Added to database: 08/06/2026, 22:13:35 UTC

Last enriched: 08/06/2026, 22:28:31 UTC

Last updated: 08/07/2026, 00:40:27 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses