CVE-2022-48345 json
@braintree/sanitize-url Cross-site Scripting vulnerability
published 2023-02-24 3 y ago modified 2026-06-17 4 mo ago also GHSA-q8gg-vj6m-hgmj , EUVD-2023-0773
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.
Patch / fix
- npm @braintree/sanitize-url 6.0.1
- paypal braintree/sanitize-url 6.0.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48345 updated cvss 6.1
sanitize-url: XSS via HTML entities
-
Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinuxaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @braintree/sanitize-url | <6.0.1 |
6.0.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/braintree/sanitize-url/commit/d4bdc89f1743fe3cdb7c3f24b06e4c875f349b0c
web, patch
-
github.com
/braintree/sanitize-url/compare/v6.0.1...v6.0.2
web, patch, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2022-48345
advisory
-
github.com
/braintree/sanitize-url
package
-
github.com
/braintree/sanitize-url/compare/v6.0.0...v6.0.1
web
Sources
- CVE List CVE-2022-48345
- GitHub Advisory GHSA-q8gg-vj6m-hgmj
- NVD CVE-2022-48345
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.