Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and…
Historical advisory recorded 25 Oct 2026 03:17:11 UTC. Read the latest advisory.
nvd · CVE-2025-54881
PublishedMermaid 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-54881 · CVE overview and exploitation status
nvd · CVE-2025-54881
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.