CVE-2022-48345
MEDIUM 6.1CVSS 3.1@braintree/sanitize-url Cross-site Scripting vulnerability
sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.
- Published
- 24 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-q8gg-vj6m-hgmj
- Sources
- NVDJSONOSV GHSA-q8gg-vj6m-hgmjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | paypal | braintree/sanitize-urlcpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:* |
< 6.0.2 | 6.0.2 |
| OSV | npm | @braintree/sanitize-url | < 6.0.1 | 6.0.1 |
References
- https://github.com/braintree/sanitize-url/commit/d4bdc89f1743fe3cdb7c3f24b06e4c875f349b0c · Patch, WEB
- https://github.com/braintree/sanitize-url/compare/v6.0.1...v6.0.2 · Patch, Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-48345 · ADVISORY
- https://github.com/braintree/sanitize-url · PACKAGE
- https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 24 Feb 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Feb 2023)