Vulnerability library
Security checkJanuary 27, 2023

Cross-site Scripting in sanitize-url

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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

Recommendation

Update the @braintree/sanitize-url package to the latest compatible version. Followings are version details:

  • Affected version(s): < 6.0.0
  • Patched version(s): 6.0.0

References

Could your website be exposed too?

SmartScanner can check your website for Cross-site Scripting in sanitize-url and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 27, 2023