{"id":"GHSA-pv4c-p2j5-38j4","summary":"Open Redirect in url-parse","details":"Versions of `url-parse` before 1.4.3 returns the wrong hostname which could lead to Open Redirect, Server Side Request Forgery (SSRF), or Bypass Authentication Protocol vulnerabilities.\n\n\n## Recommendation\n\nUpdate to version 1.4.3 or later.","aliases":["CVE-2018-3774"],"modified":"2026-02-20T12:10:40.015471Z","published":"2018-08-13T15:02:15Z","database_specific":{"github_reviewed_at":"2020-06-16T21:50:04Z","nvd_published_at":null,"cwe_ids":["CWE-425"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3774"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de"},{"type":"WEB","url":"https://hackerone.com/reports/384029"},{"type":"PACKAGE","url":"https://github.com/unshiftio/url-parse"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0"}],"affected":[{"package":{"name":"url-parse","ecosystem":"npm","purl":"pkg:npm/url-parse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.4.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-pv4c-p2j5-38j4/GHSA-pv4c-p2j5-38j4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}