GHSA-hqq7-2q2v-82xq

Suggest an improvement
Source
https://github.com/advisories/GHSA-hqq7-2q2v-82xq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-hqq7-2q2v-82xq/GHSA-hqq7-2q2v-82xq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hqq7-2q2v-82xq
Aliases
Published
2022-03-17T00:00:24Z
Modified
2024-08-01T07:26:38.807576Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-03-16T16:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-19T00:01:56Z"
}
References

Affected packages

npm / @braintree/sanitize-url

Package

Name
@braintree/sanitize-url
View open source insights on deps.dev
Purl
pkg:npm/%40braintree/sanitize-url

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.0