Vulnerability Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Paypal | Braintree\/Sanitize-Url | < 6.0.0 |
| Fedoraproject | Fedora | 34 |
Related Weaknesses (CWE)
References
- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11Broken Link
- https://github.com/braintree/sanitize-url/pull/40Issue TrackingPatchThird Party Advisory
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f7PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882ExploitPatchThird Party Advisory
- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11Broken Link
- https://github.com/braintree/sanitize-url/pull/40Issue TrackingPatchThird Party Advisory
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f7PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882ExploitPatchThird Party Advisory
FAQ
What is CVE-2021-23648?
CVE-2021-23648 is a vulnerability with a CVSS score of 5.4 (MEDIUM). The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
How severe is CVE-2021-23648?
CVE-2021-23648 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23648?
Check the references section above for vendor advisories and patch information. Affected products include: Paypal Braintree\/Sanitize-Url, Fedoraproject Fedora.