Loading advisory.
Loading advisory.
Incorrect sanitisation function leads to `XSS` in mermaid
Malicious diagrams can contain javascript code that can be run at diagram readers machines.
Published 2021-12-30 13:40 UTC · Modified 2026-07-08 06:28 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| mermaid | npm | < 8.13.8 | 8.13.8 | npm install mermaid@8.13.8 |
Malicious diagrams can contain javascript code that can be run at diagram readers machines.
The users should upgrade to version 8.13.8
You need to upgrade in order to avoid this issue.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.009 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.009 | first score | v2026.06.15 |