Live threats

All CVEs / Paypal

CVE-2022-48345Paypal Braintree/sanitize-url

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Feb 24, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.

Original NVD text.

What to do

  1. Apply the vendor's security update for Braintree/sanitize-url.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @braintree/sanitize-url < 6.0.1 6.0.1 npm install @braintree/sanitize-url@6.0.1

Per OSV / GitHub Advisories (GHSA-q8gg-vj6m-hgmj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
paypalbraintree/sanitize-url< 6.0.2

Official sources

References

Links published by the sources. Open them with care.