Back
CVE-2021-23648Cross-site Scripting (XSS)
- 5.4MediumCVSS base score
- 1.4%Exploitation in 30 daysEPSS · top 27% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Timeline
ID reserved
By snyk
- 14 months later
· 14 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (17 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Affected products
@braintree/sanitize-url
- affected unspecified – < 6.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@braintree/sanitize-urlGHSA-hqq7-2q2v-82xq (opens in a new tab)
References
References7
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/braintree/sanitize-url/pull/40 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2022-83405f9d5b (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-9dd03cab55 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-c5383675d9 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1445 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hqq7-2q2v-82xq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-23648)Record last updated .