Live threats

All CVEs / Mermaid Project

CVE-2025-54880Mermaid Project Mermaid

Medium 5.1

Priority
31
CVSS 4.0
5.1
EPSS
—
Auth required
Yes
Published
Aug 19, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mermaid.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mermaid ≥ 11.1.0 < 11.10.0 11.10.0 npm install mermaid@11.10.0

Per OSV / GitHub Advisories (GHSA-8gwm-58g9-j8pw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mermaid_projectmermaid≥ 11.1.0 < 11.10.0

Official sources

References

Links published by the sources. Open them with care.