CVE-2021-23648
5.4medium
Cross-site Scripting (XSS)
- Severity
- 5.4medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.43% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-hqq7-2q2v-82xqSNYK-JS-BRAINTREESANITIZEURL-2339882
Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @braintree/sanitize-url | from unspecified before 6.0.0 | CVE List |
| @braintree/sanitize-url (npm) | before 6.0.0 | GitHub Advisory Database |
| paypal braintree/sanitize-url | before 6.0.0 | NVD |
| fedoraproject fedora | 34, 35, 36 | NVD |
All scores
| snyk | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
GitHub Advisory Database
The package @braintree/sanitize-url before 6.0.0 is vulnerable to Cross-site Scripting (XSS) due to improper sanitization in the sanitizeUrl function.
NVD (es)
El paquete @braintree/sanitize-url versiones anteriores a 6.0.0 es vulnerable a un ataque de tipo Cross-site Scripting (XSS) debido a un saneo inapropiado en la función sanitizeUrl
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23648 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hqq7-2q2v-82xq changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-23648 changed 2026-06-17 | Public domain |