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

Tue, 19 Aug 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 19 Aug 2025 17:15:00 +0000

Type Values Removed Values Added
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 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.
Title Mermaid improperly sanitizes of sequence diagram labels leading to XSS
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-08-19T17:04:29.453Z

Updated: 2025-08-19T18:14:04.599Z

Reserved: 2025-07-31T17:23:33.475Z

Link: CVE-2025-54881

cve-icon Vulnrichment

Updated: 2025-08-19T18:11:46.924Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-19T17:15:41.247

Modified: 2025-08-20T14:40:17.713

Link: CVE-2025-54881

cve-icon Redhat

No data.