medium

CVE-2026-41149

npm · mermaid

Summary

Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection

Severity
medium
EPSS
0.5% (p40)
Also known as
GHSA-ghcm-xqfw-q4vr
Published
2026-05-11

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.