CVE-2026-41150 PUBLISHED

Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS

Assigner: GitHub_M
Reserved: 17.04.2026 Published: 29.05.2026 Updated: 29.05.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor mermaid-js
Product mermaid
Versions
  • Version >= 11.0.0-alpha.1, < 11.15.0 is affected
  • Version < 10.9.6 is affected

References

Problem Types

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') CWE