Vulnerability

CVE-2025-54880

mediumCVSS 4.0 5.1Published 19 Aug 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mermaid Project mermaid

Weakness type

References

  • github.com /mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6…
  • github.com /mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c8342…
  • github.com /mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning