Vulnerability library
Security checkJune 09, 2026

Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmermaid

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Mermaid v11.14.0 and earlier are vulnerable to a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates.

Recommendation

Update the mermaid package to the latest compatible version. Followings are version details:

  • Affected version(s): **<= 10.9.5 >= 11.0.0-alpha.1, <= 11.14.0**
  • Patched version(s): **10.9.6 11.15.0**

References

Could your website be exposed too?

SmartScanner can check your website for Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 09, 2026