Vulnerability · Published Jun 27, 2021 · Assigned by mitre
CVE-2021-35513
Medium 6.1
In plain English
A medium-severity security flaw in the node-mermaid package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | node-mermaid | 8.7.0+ds+~cs27.17.17-3 | DEBIAN-CVE-2021-35513 |
| Ubuntu:22.04:LTS | node-mermaid | no fix listed | UBUNTU-CVE-2021-35513 |
| Ubuntu:26.10 | node-mermaid | no fix listed | UBUNTU-CVE-2021-35513 |
| npm | mermaid | 8.11.0 | GHSA-4f6x-49g2-99fm |
Affected products (as reported)
References
- https://github.com/mermaid-js/mermaid/issues/2122 x_refsource_MISC
- https://github.com/mermaid-js/mermaid/pull/2123 x_refsource_MISC
- https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2 x_refsource_MISC