Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1ocXE3LTJxMnYtODJ4cc0zPQ

Cross-site Scripting in sanitize-url

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

Permalink: https://github.com/advisories/GHSA-hqq7-2q2v-82xq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ocXE3LTJxMnYtODJ4cc0zPQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: over 1 year ago


CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Identifiers: GHSA-hqq7-2q2v-82xq, CVE-2021-23648
References: Repository: https://github.com/braintree/sanitize-url
Blast Radius: 22.4

Affected Packages

npm:@braintree/sanitize-url
Dependent packages: 148
Dependent repositories: 14,071
Downloads: 5,605,287 last month
Affected Version Ranges: < 6.0.0
Fixed in: 6.0.0
All affected versions: 1.0.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 3.0.0, 3.1.0, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 5.0.0, 5.0.1, 5.0.2
All unaffected versions: 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 7.0.0, 7.0.1