CVE-2025-54880
Description
Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 11.9.0 and earlier, user supplied input for architecture diagram icons is passed to the d3 html() method, creating a sink for cross site scripting. This vulnerability is fixed in 11.10.0.
How to fix
- mermaid_project mermaid11.10.0 or later
- mermaid11.10.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mermaid_project mermaid | 11.1.0 ≤ v < 11.10.0 | 11.10.0 |
| mermaidnpm | 11.1.0 ≤ v < 11.10.0 | 11.10.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.