CVE-2026-41150 Details
Description
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.
A denial-of-service vulnerability has been identified in Mermaid versions prior to 10.9.6 and 11.15.0. The issue arises when Gantt charts use the 'excludes' attribute to omit all dates, leading to an infinite loop during rendering. While 'mermaid.parse' is not affected, calling 'ganttDb.getTasks()'' after parsing can trigger the issue. This vulnerability is present in Mermaid versions 11.0.0-alpha.1 through 11.14.0 and 10.9.5 and prior.
Users can update to Mermaid version 10.9.6 or 11.15.0, both of which include the necessary fix. Instructions for downloading these versions are available on the Mermaid GitHub Releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mermaid project mermaid | < 10.9.6 >= 11.0.0, < 11.15.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| May 29, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | New CVE Received | [email protected] |