VDB
Sign up
MEDIUM5.4

GHSA-hqq7-2q2v-82xq

Cross-site Scripting in sanitize-url

Quick fix

GHSA-hqq7-2q2v-82xq — @braintree/sanitize-url: upgrade to the fixed version with the command below.

npm install @braintree/sanitize-url@6.0.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@braintree/sanitize-url
Introduced in: 0Fixed in: 6.0.0
Fixnpm install @braintree/sanitize-url@6.0.0

References