ghsa-hqq7-2q2v-82xq
Vulnerability from github
Published
2022-03-17 00:00
Modified
2022-03-21 17:20
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@braintree/sanitize-url" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "6.0.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-23648" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2022-03-19T00:01:56Z", "nvd_published_at": "2022-03-16T16:15:00Z", "severity": "MODERATE" }, "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.", "id": "GHSA-hqq7-2q2v-82xq", "modified": "2022-03-21T17:20:05Z", "published": "2022-03-17T00:00:24Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23648" }, { "type": "WEB", "url": "https://github.com/braintree/sanitize-url/pull/40" }, { "type": "WEB", "url": "https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183" }, { "type": "PACKAGE", "url": "https://github.com/braintree/sanitize-url" }, { "type": "WEB", "url": "https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ" }, { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Cross-site Scripting in sanitize-url" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.