CVE-2025-54880

M

ermaid 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.

Configurations

Configuration 1 (hide)

cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*

History

20 Oct 2025, 15:12

Type Values Removed Values Added
CPE cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
First Time Mermaid Project
Mermaid Project mermaid
References () https://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc - () https://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc - Patch
References () https://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4 - () https://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4 - Product
References () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw - () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw - Vendor Advisory, Exploit, Patch

20 Aug 2025, 14:40

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-19 17:15

Updated : 2025-10-20 15:12


NVD link : CVE-2025-54880

Mitre link : CVE-2025-54880

CVE.ORG link : CVE-2025-54880


JSON object : View

Products Affected
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')