# CVE-2026-41150: Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T19:36:55.000Z
- Modified: 2026-09-10T03:50:45.806Z
- Also known as: GHSA-6m6c-36f7-fhxh
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mermaid-js mermaid: >= 11.0.0-alpha.1, < 11.15.0; < 10.9.6
- mermaid (npm): from 11.0.0-alpha.1 before 11.15.0; before 10.9.6
- mermaid_project mermaid: before 10.9.6; from 11.0.0 before 11.15.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh> (exploit, third-party-advisory, web)
- <https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6> (patch, web)
- <https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e> (patch, web)
- <https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0> (release-notes, web)
- <https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41150> (advisory)
- <https://github.com/mermaid-js/mermaid> (package)

## Sources

- CVE List: [CVE-2026-41150](https://www.cve.org/CVERecord?id=CVE-2026-41150), CVE Terms of Use, modified 2026-05-29
- GitHub Advisory Database: [GHSA-6m6c-36f7-fhxh](https://github.com/advisories/GHSA-6m6c-36f7-fhxh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41150](https://nvd.nist.gov/vuln/detail/CVE-2026-41150), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-41150 · Whole record: https://cve.day/CVE-2026-41150.json · Rebuilt by cve.day 2026-11-25T22:59:23.325Z
