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

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




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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

>= 10.9.0-rc.1, <= 11.9.0
affected

References

github.com/...ermaid/security/advisories/GHSA-7rqq-prvp-x9jh

github.com/...ommit/5c69e5fdb004a6d0a2abe97e23d26e223a059832

github.com/...ommit/685516a85ec1df64cefd4fd15f26533be87d458e

cve.org (CVE-2025-54881)

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

Download JSON