CVE-2025-54880

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductMermaid
PublishedAug 19, 2025
First seenAug 19, 2025

How to fix

Update
  • mermaid_project mermaid11.10.0 or later
  • mermaid11.10.0 or later

Affected products

ProductAffected versionsFixed in
mermaid_project mermaid11.1.0 ≤ v < 11.10.011.10.0
mermaidnpm11.1.0 ≤ v < 11.10.011.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.