Read the docs
TI-2022-23959 Aliases CVE-2022-48345GHSA-q8gg-vj6m-hgmj

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—@braintree/sanitize-url (npm)before 6.0.16.0.1Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:*before 6.0.2VulnerablePayPal
  • cpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:* Versions before 6.0.2 Vulnerable ·PayPal

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 →

ProductStatusPlan or fix
OpenShift Service Mesh 2.1AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-48345
  2. 2026-10-03 Alias added: GHSA-q8gg-vj6m-hgmj

References

  • TI-2021-06175 Cross-site scripting (XSS) in @braintree/sanitize-url CVSS 3.1MEDIUM 6.1

Sources