Live threats

All CVEs / Paypal

CVE-2021-23648Paypal Braintree/sanitize-url

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Mar 16, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.

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.0 6.0.0 npm install @braintree/sanitize-url@6.0.0

Per OSV / GitHub Advisories (GHSA-hqq7-2q2v-82xq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
paypalbraintree/sanitize-url< 6.0.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.