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.
References
Link Resource
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 Broken Link
https://github.com/braintree/sanitize-url/pull/40 Issue Tracking Patch Third Party Advisory
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 Exploit Patch Third Party Advisory
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 Broken Link
https://github.com/braintree/sanitize-url/pull/40 Issue Tracking Patch Third Party Advisory
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 Exploit Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-03-16 16:15

Updated : 2024-11-21 05:51


NVD link : CVE-2021-23648

Mitre link : CVE-2021-23648

CVE.ORG link : CVE-2021-23648


JSON object : View

Products Affected

paypal

  • braintree\/sanitize-url

fedoraproject

  • fedora
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')