{"id":"GHSA-f7cm-ccfp-3q4r","summary":"Django Incorrectly Validates URLs","details":"The `core.urlresolvers.reverse` function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a `//` (slash slash) in a URL, which triggers a scheme-relative URL to be generated.","aliases":["CVE-2014-0480","PYSEC-2014-4"],"modified":"2025-02-19T05:44:36.839876Z","published":"2022-05-14T02:09:22Z","database_specific":{"github_reviewed_at":"2023-08-16T21:39:17Z","nvd_published_at":"2014-08-26T14:55:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0480"},{"type":"WEB","url":"https://github.com/django/django/commit/45ac9d4fb087d21902469fc22643f5201d41a0cd"},{"type":"WEB","url":"https://github.com/django/django/commit/c2fe73133b62a1d9e8f7a6b43966570b14618d7e"},{"type":"WEB","url":"https://github.com/django/django/commit/da051da8df5e69944745072611351d4cfc6435d5"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-4.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20140918034351/http://www.securityfocus.com/bid/69425"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2014/aug/20/security"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html"},{"type":"WEB","url":"http://www.debian.org/security/2014/dsa-3010"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.14"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7cm-ccfp-3q4r/GHSA-f7cm-ccfp-3q4r.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.9"}]}],"versions":["1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7cm-ccfp-3q4r/GHSA-f7cm-ccfp-3q4r.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6"},{"fixed":"1.6.6"}]}],"versions":["1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7cm-ccfp-3q4r/GHSA-f7cm-ccfp-3q4r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}