{"id":"CVE-2026-41150","published":"2026-05-29T13:54:52Z","modified":"2026-05-29T16:17:31Z","title":"Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS","vendor":"mermaid-js","product":"mermaid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00384,"percentile":0.33344,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.67},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mermaid-js","affectedVersions":[{"vendor":"mermaid-js","product":"mermaid","versions":[">= 11.0.0-alpha.1, < 11.15.0","< 10.9.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-29T16:16:21.549813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mermaid","vulnerableRanges":[">=11.0.0-alpha.1, <11.15.0","<10.9.6"],"patched":["11.15.0","10.9.6"],"from":["GHSA-6m6c-36f7-fhxh"],"provenance":"source"}],"summary":{"text":"The flaw is an infinite loop in Mermaid's Gantt chart rendering, which occurs when a chart uses the excludes attribute to exclude all dates. An attacker who can get a crafted Gantt chart rendered can cause a denial of service, and the attack requires only network access with no authentication, but it does require user interaction and is triggered during rendering, with calls to ganttDb.getTasks() in the affected path while mermaid.parse on its own is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:13Z"},"euvd":{"id":"EUVD-2026-33325","exploited":false,"provenance":"source"}}