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.
References
| Link | Resource |
|---|---|
| https://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc | Patch |
| https://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4 | Product |
| https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw | Exploit Patch Vendor Advisory |
| https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw | Exploit Patch Vendor Advisory |
Configurations
History
17 Jun 2026, 09:40
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw - Exploit, Patch, Vendor Advisory |
20 Oct 2025, 15:12
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
| First Time |
Mermaid Project
Mermaid Project mermaid |
|
| References | () https://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc - Patch | |
| References | () https://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4 - Product | |
| References | () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw - Vendor Advisory, Exploit, Patch | |
| CPE | cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:* |
20 Aug 2025, 14:40
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
19 Aug 2025, 18:15
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw - |
19 Aug 2025, 17:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-08-19 17:15
Updated : 2026-06-17 09:40
NVD link : CVE-2025-54880
Mitre link : CVE-2025-54880
CVE.ORG link : CVE-2025-54880
JSON object : View
Products Affected
mermaid_project
- mermaid
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
