CVE-2021-35513
Cross-site Scripting in Mermaid
6.1
MEDIUM
CVSS 3.1
EPSS 0.31%
Description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
How to fix CVE-2021-35513
To remediate CVE-2021-35513, upgrade the affected package to a fixed version below.
- Debian/node-mermaid—upgrade to 8.7.0+ds+~cs27.17.17-3 or later
- npm/mermaid—upgrade to 8.11.0 or later
Is CVE-2021-35513 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 8.7.0+ds+~cs27.17.17-3
- from 0, < 8.11.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |