Advisory

GHSA-hqq7-2q2v-82xq

Also known as: CVE-2021-23648, SNYK-JS-BRAINTREESANITIZEURL-2339882

Summary

Cross-site Scripting in sanitize-url

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-17 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

@braintree/sanitize-url

npm · All systems

Affected

  • introduced 0, fixed 6.0.0 (semver)

Fixed versions

6.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences