{"cve":"CVE-2021-23648","nvd":{"published":"2022-03-16T16:15:10.690","modified":"2026-06-17T03:38:51.083","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","https://github.com/braintree/sanitize-url/pull/40","https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183","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/"],"products":["fedoraproject:fedora","paypal:braintree\\/sanitize-url"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2021-23648","score":0.0143,"percentile":0.73017,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hqq7-2q2v-82xq","url":"https://osv.dev/vulnerability/GHSA-hqq7-2q2v-82xq","summary":"Cross-site Scripting in sanitize-url","modified":"2026-09-10T03:49:17.446984712Z","packages":[{"ecosystem":"npm","name":"@braintree/sanitize-url","purl":"pkg:npm/%40braintree/sanitize-url","ranges":["<6.0.0"],"fixed":["6.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}