CVE-2026-41150
CVE-2026-41150 is a medium-severity vulnerability in Mermaid Project Mermaid with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-835.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v4: 5.3
- EPSS exploit prediction: 0% (30th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-33325
- Weakness: CWE-835
- Affected product: Mermaid Project Mermaid
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-41150?
- CVE-2026-41150 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-41150 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (30th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-41150?
- CVE-2026-41150 affects Mermaid Project Mermaid. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-41150?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-41150 have an EU (EUVD) identifier?
- Yes. CVE-2026-41150 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-33325.
- When was CVE-2026-41150 published?
- CVE-2026-41150 was published on 2026-05-29 and last updated on 2026-06-17.
References
- https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6
- https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0
- https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh
Affected products (1)
- cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*
More vulnerabilities in Mermaid Project Mermaid
- CVE-2021-43861 — High (CVSS 7.2): Mermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer…
- CVE-2025-54880 — Medium (CVSS 6.1): Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer…
- CVE-2021-35513 — Medium (CVSS 6.1): Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
- CVE-2026-41159 — Medium (CVSS 5.3): Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6…
- CVE-2022-31108 — Medium (CVSS 4.1): Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer…
All CVEs affecting Mermaid Project Mermaid →
Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities
- CVE-2026-24816 — Critical (CVSS 10.0): Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in datavane tis…
- CVE-2018-20784 — Critical (CVSS 9.8): In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfs_rq's, which allows attackers to cause a…
- CVE-2017-12997 — Critical (CVSS 9.8): The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in…
- CVE-2017-12995 — Critical (CVSS 9.8): The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print().
- CVE-2017-12990 — Critical (CVSS 9.8): The ISAKMP parser in tcpdump before 4.9.2 could enter an infinite loop due to bugs in print-isakmp.c, several functions.
- CVE-2026-31448 — Critical (CVSS 9.4): In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual…
Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →