{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23648","published":"2022-03-16T16:15:10.690000Z","last_modified":"2026-06-17T03:38:51.083000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:paypal:braintree\\/sanitize-url:*:*:*:*:*:node.js:*:*","part":"a","vendor":"paypal","product":"braintree/sanitize-url","version_end_excluding":"6.0.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"}],"cpes_truncated":false,"vendors":["paypal","fedoraproject"],"products":["paypal/braintree-sanitize-url","fedoraproject/fedora"],"epss":{"score":0.0143,"percentile":0.7327,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hqq7-2q2v-82xq","ecosystem":"npm","name":"@braintree/sanitize-url","purl":"pkg:npm/%40braintree/sanitize-url","ranges":[{"introduced":"0","fixed":"6.0.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23648/","html_en":"/en/cve/CVE-2021-23648/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23648","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23648"},"untrusted":{"vendor_name":"Paypal","product_name":"Braintree/sanitize-url","desc_en":"The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.","affected":[],"references":[{"url":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","tags":["Broken Link"]},{"url":"https://github.com/braintree/sanitize-url/pull/40","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/","tags":[]},{"url":"https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882","tags":["Exploit","Patch","Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2022:7519","url":"https://access.redhat.com/errata/RHSA-2022:7519","published":"2024-09-30T14:28:37+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: grafana security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2022:8057","url":"https://access.redhat.com/errata/RHSA-2022:8057","published":"2024-09-30T14:26:41+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: grafana security, bug fix, and enhancement update"}}]}