VDB
GHSA-hqq7-2q2v-82xq
GHSA-hqq7-2q2v-82xq
PUBLISHED
CVSS 5.400000095367432 MEDIUM
Cross-site Scripting in sanitize-url
Record from GitHub Advisory Database · Published March 17, 2022
@braintree/sanitize-url is fixed in 6.0.0 (npm)
Cross-site Scripting in sanitize-url
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| @braintree/sanitize-url | npm | 6.0.0 |
Risk scores
CVSS 3.1
5.400000095367432
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| braintree | sanitize-url | |
| braintree | sanitize-url | 0 |
Timeline
- Mar 17, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-hqq7-2q2v-82xq
vulnetix vdb fixes GHSA-hqq7-2q2v-82xq
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-hqq7-2q2v-82xq/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/braintree/sanitize-url package
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ url
- https://nvd.nist.gov/vuln/detail/CVE-2021-23648 advisory
- https://github.com/braintree/sanitize-url/pull/40 url
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 url
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 url
- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH url