Home

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.

PUBLISHED Reserved 2025-07-31 | Published 2025-08-19 | Updated 2025-08-19 | Assigner GitHub_M




MEDIUM: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Problem types

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

Product status

>= 11.1.0, < 11.10.0
affected

References

github.com/...ermaid/security/advisories/GHSA-8gwm-58g9-j8pw

github.com/...ommit/2aa83302795183ea5c65caec3da1edd6cb4791fc

github.com/...ommit/734bde38777c9190a5a72e96421c83424442d4e4

cve.org (CVE-2025-54880)

nvd.nist.gov (CVE-2025-54880)

Download JSON