GitHub Advisoryadvisory · npm

GHSA-hqq7-2q2v-82xq Cross-site Scripting in sanitize-url

MEDIUM Published 2022-03-17 Modified 2022-03-21 Official page ↗
Aliases
CVE-2021-23648
Ecosystem
npm
Packages
@braintree/sanitize-url
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-03-19

Affected packages

• npm @braintree/sanitize-url: < 6.0.0 → fixed in 6.0.0

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.

Related

Alias · CVE (1)

  • CVE-2021-23648 The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References