CVE-2021-23648
MEDIUM@braintree/sanitize-url < 6.0.0 - Cross-Site Scripting via Improper URL Sanitization
Title source: llmDescription
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
References (7)
Core 7
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882
Broken Link x_refsource_misc
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/braintree/sanitize-url/pull/40
Patch, Third Party Advisory x_refsource_misc
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
Scores
CVSS v3
5.4
EPSS
0.0013
EPSS Percentile
31.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (5)
braintree/sanitize-url
0 - 6.0.0npm
fedoraproject/fedora
34
fedoraproject/fedora
35
fedoraproject/fedora
36
paypal/braintree\/sanitize-url
< 6.0.0
Published
Mar 16, 2022
Tracked Since
Feb 18, 2026