cve.bz

CVE-2025-54881

5.3 mediumEPSS 0.8%

Medium (5.3). EPSS 0.8% chance of exploitation in the next 30 days. Fixed in mermaid 10.9.4, 11.10.0.

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 10.9.0-rc.1 to 11.9.0, user supplied input for sequence diagram labels is passed to innerHTML during calculation of element size, causing XSS.

Severity

CVSS 4.0

5.3 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7rqq-prvp-x9jhnpmmermaid>=11.0.0-alpha.1 <11.10.011.10.0
GHSA-7rqq-prvp-x9jhnpmmermaid>=10.9.0-rc.1 <10.9.410.9.4

References

Check your stackJSON