XSS in Paypal Braintree\/sanitize-Url
CVE-2021-23648
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.014, 73.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Paypal Braintree\/sanitize-Url
- Fedoraproject Fedora — versions 34, 35, 36
- @Braintree/sanitize-Url — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 (Exploit, Patch, Third Party Advisory)
- github.com/braintree/sanitize-url/blob/main/src/index.ts#L11 (Broken Link)
- github.com/braintree/sanitize-url/pull/40 (Patch, Third Party Advisory, Issue Tracking)
- github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c12… (Patch, Third Party Advisory)
- FEDORA-2022-83405f9d5b (vendor-advisory)
- FEDORA-2022-9dd03cab55 (vendor-advisory)
- FEDORA-2022-c5383675d9 (vendor-advisory)