Skip to main content
← All vulnerabilities
CVE-2025-54880GHSA-8GWM-58G9-J8PW

Mermaid does not properly sanitize architecture diagram iconText leading to XSS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.10.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mermaid-js mermaid

    From 11.1.0 · fixed in 11.10.0

  • mermaidnpm

    From 11.1.0 · fixed in 11.10.0

References 3

GitHub · mermaid-js/mermaid