CVE-2021-23648
Cross-site Scripting in sanitize-url
5.4
MEDIUM
CVSS 3.1
EPSS 0.13%
Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
How to fix CVE-2021-23648
To remediate CVE-2021-23648, upgrade the affected package to a fixed version below.
- Debian/node-mermaid—upgrade to 8.7.0+ds+~cs27.17.17-3+deb11u1 or later
- —upgrade to 6.0.0 or later
Is CVE-2021-23648 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 8.7.0+ds+~cs27.17.17-3+deb11u1
- from 0, < 6.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |