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

21 Nov 2024, 05:51

Type Values Removed Values Added
CVSS v2 : 4.3
v3 : 6.1
v2 : 4.3
v3 : 5.4
References () https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 - Broken Link () https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 - Broken Link
References () https://github.com/braintree/sanitize-url/pull/40 - Issue Tracking, Patch, Third Party Advisory () https://github.com/braintree/sanitize-url/pull/40 - Issue Tracking, Patch, Third Party Advisory
References () https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 - Patch, Third Party Advisory () https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 - Patch, Third Party Advisory
References () 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/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ -
References () 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/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ -
References () https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 - Exploit, Patch, Third Party Advisory () https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 - Exploit, Patch, Third Party Advisory

15 Jun 2022, 21:40

Type Values Removed Values Added
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ - Mailing List, Patch, Third Party Advisory
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ - Mailing List, Patch, Third Party Advisory
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ - Mailing List, Third Party Advisory
CPE cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

07 May 2022, 08:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ -

20 Apr 2022, 21:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ -

28 Mar 2022, 13:05

Type Values Removed Values Added
References (MISC) https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 - (MISC) https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/braintree/sanitize-url/pull/40 - (MISC) https://github.com/braintree/sanitize-url/pull/40 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 - (MISC) https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 - Patch, Third Party Advisory
References (MISC) https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 - (MISC) https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 - Broken Link
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 6.1
CWE CWE-79
CPE cpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:*

16 Mar 2022, 16:28

Type Values Removed Values Added
New CVE

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')