Vulnerability library
Security checkAugust 06, 2026

Mermaid XY 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 XY Charts are vulnerable to an infinite loop DoS attack in the setXAxisRangeData(), when configuring an X-Axis with invalid parameters.

Recommendation

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

  • Affected version(s): **>= 11.0.0-alpha.1, < 11.16.1 >= 10.6.0, < 10.9.8**
  • Patched version(s): **11.16.1 10.9.8**

References

Could your website be exposed too?

SmartScanner can check your website for Mermaid XY 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 August 06, 2026