Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-41150

Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mermaid-js mermaid

  • >= 11.0.0-alpha.1, < 11.15.0affected
  • < 10.9.6affected

References