CyberRota Analysis
AI-GeneratedMermaid versions 10.6.0 to 10.9.8 and 11.16.1 are vulnerable to a denial of service due to an infinite loop in the setXAxisRangeData function when invalid parameters are used for configuring the X-Axis. This vulnerability can lead to a RangeError or cause the JavaScript process to crash from memory exhaustion, impacting application availability. Organizations using affected versions should prioritize upgrading to the patched releases to mitigate potential disruptions.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.