Cross-Site Scripting Vulnerability in Mermaid Diagramming Tool by Mermaid
CVE-2025-54880
5.1MEDIUM
What is CVE-2025-54880?
Mermaid, a JavaScript-based tool for creating and modifying diagrams, is susceptible to a Cross-Site Scripting vulnerability. This arises in versions 11.9.0 and earlier, where user-provided input for architecture diagram icons is mishandled, leading to potential exploitation through the d3 html() method. To mitigate this risk, users should upgrade to version 11.10.0 or later, where the vulnerability has been addressed, ensuring a more secure diagramming environment.
Affected Version(s)
mermaid >= 11.1.0, < 11.10.0
