GitHub Advisoryadvisory · npm
GHSA-hqq7-2q2v-82xq Cross-site Scripting in sanitize-url
MEDIUM
Official page ↗
- Aliases
- CVE-2021-23648
- Ecosystem
- npm
- Packages
- @braintree/sanitize-url
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-03-19
Affected packages
• npm @braintree/sanitize-url: < 6.0.0 → fixed in 6.0.0
Description
The package `@braintree/sanitize-url` before 6.0.0 is vulnerable to Cross-site Scripting (XSS) due to improper sanitization in the `sanitizeUrl` function.
Related
Alias · CVE (1)
- CVE-2021-23648 The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23648 advisory
- https://github.com/braintree/sanitize-url/pull/40 web
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 web
- https://github.com/braintree/sanitize-url package
- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ web
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 web