sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.
Priority LOW 28CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0056 46th percentileScored 2026-11-07
Fix Partial @braintree/sanitize-url (npm): 6.0.1Red Hat: 3 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | @braintree/sanitize-url (npm) | before 6.0.1 | 6.0.1 | Patch available | GHSA-q8gg-vj6m-hgmj |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- @braintree/sanitize-url (npm) Vendor— Affected before 6.0.1 Fixed in 6.0.1 Patch available GHSA-q8gg-vj6m-hgmj
Remediation
- Fix · GHSA-q8gg-vj6m-hgmj @braintree/sanitize-url (npm) Fixed in 6.0.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.1 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-48345
- 2026-10-03 Alias added: GHSA-q8gg-vj6m-hgmj
References
Patch 2
More PayPal Braintree/sanitize-url vulnerabilities
- TI-2021-06175 Cross-site scripting (XSS) in @braintree/sanitize-url CVSS 3.1MEDIUM 6.1
Sources
- CVE-2022-48345 · CVE Program
- CVE-2022-48345 · NVD
- FIRST EPSS
- GHSA-q8gg-vj6m-hgmj · GitHub Advisory Database · CC BY 4.0
- CVE-2022-48345 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences