CVE-2021-35513Mermaid Project Mermaid
Medium 6.1 No auth needed
Follow: this CVE · Mermaid Project · Mermaid Project Mermaid We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Jun 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
What to do
- Apply the vendor's security update for Mermaid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mermaid |
< 8.11.0 |
8.11.0 |
npm install mermaid@8.11.0 |
Per OSV / GitHub Advisories (GHSA-4f6x-49g2-99fm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mermaid_project | mermaid | < 8.11.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory