Vulnerability in Mermaid-Js Mermaid
CVE-2026-41150
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.004 (32.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 32.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.004 · change: -0.001
Affected products
- Mermaid-Js Mermaid — versions >= 11.0.0-alpha.1, < 11.15.0, < 10.9.6
- Mermaid Project
Weakness classification (CWE)
References
- github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh (Third Party Advisory)
- github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6 (Patch)
- github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e (Patch)
- github.com/mermaid-js/mermaid/releases/tag/mermaid@11.15.0 (Release Notes)
- github.com/mermaid-js/mermaid/releases/tag/v10.9.6 (Release Notes)
Frequently asked questions
- What is CVE-2026-41150?
- CVE-2026-41150 is a medium-severity vulnerability in Mermaid-Js Mermaid, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 5.3/10. Published 2026-05-29.
- How severe is CVE-2026-41150?
- Medium severity. CVSS v3 base score is 5.3 out of 10.