CVE-2025-54881
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.
- Fix
- Available
- CVSS 4.0
- 5.3 MEDIUM
- EPSS
- 0.8% (52th percentile)
- Weakness
- CWE-79
- NVD status
- Deferred
- Published
- 2025-08-19
CVE-2025-54881 at NVD
No indexed exploits for CVE-2025-54881 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2025-54881 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.