{"id":"CVE-2014-3730","aliases":["CVE-2014-3730","GHSA-vq3h-3q7v-9prw","PYSEC-2014-20"],"related":[],"kind":"vulnerability","state":"published","title":"Django Allows Open Redirects","summary":"The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by \"http:\\\\\\djangoproject.com.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by \"http:\\\\\\djangoproject.com.\"","source":"cvelist"},{"lang":"en","text":"The `django.util.http.is_safe_url` function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by \"http:\\\\\\djangoproject.com.\"","format":"markdown","source":"ghsa"},{"lang":"es","text":"La función django.util.http.is_safe_url en Django 1.4 anterior a 1.4.13, 1.5 anterior a 1.5.8, 1.6 anterior a 1.6.5 y 1.7 anterior a 1.7b4 no valida debidamente URLs, lo que permite a atacantes remotos realizar ataques de redirección abierta a través de una URL malformada, tal y como fue demostrado por 'http:\\\\\\djangoproject.com.'","source":"nvd"}],"published":"2014-05-16T15:00:00.000Z","modified":"2026-06-17T00:08:48.937Z","severity":{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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/E:P","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.4","status":"affected","fixed":"1.4.13"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.5","status":"affected","fixed":"1.5.8"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.6","status":"affected","fixed":"1.6.5"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.7a1","status":"affected","fixed":"1.7b4"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","version":"10.04"},{"status":"affected","version":"12.04"},{"status":"affected","version":"12.10"},{"status":"affected","version":"13.10"},{"status":"affected","version":"14.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.4"},{"status":"affected","version":"1.4.1"},{"status":"affected","version":"1.4.2"},{"status":"affected","version":"1.4.4"},{"status":"affected","version":"1.4.5"},{"status":"affected","version":"1.4.6"},{"status":"affected","version":"1.4.7"},{"status":"affected","version":"1.4.8"},{"status":"affected","version":"1.4.9"},{"status":"affected","version":"1.4.10"},{"status":"affected","version":"1.4.11"},{"status":"affected","version":"1.4.12"},{"status":"affected","version":"1.7"},{"status":"affected","version":"1.7"},{"status":"affected","version":"1.7"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.6.1"},{"status":"affected","version":"1.6.2"},{"status":"affected","version":"1.6.3"},{"status":"affected","version":"1.6.4"},{"status":"affected","version":"1.5"},{"status":"affected","version":"1.5"},{"status":"affected","version":"1.5"},{"status":"affected","version":"1.5.1"},{"status":"affected","version":"1.5.2"},{"status":"affected","version":"1.5.3"},{"status":"affected","version":"1.5.4"},{"status":"affected","version":"1.5.5"},{"status":"affected","version":"1.5.6"},{"status":"affected","version":"1.5.7"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.3"},{"status":"affected","version":"13.1"}],"vendor":"opensuse","product":"opensuse","cpe":"cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.4","status":"affected","fixed":"1.4.13"},{"type":"ecosystem","introduced":"1.5","status":"affected","fixed":"1.5.8"},{"type":"ecosystem","introduced":"1.6","status":"affected","fixed":"1.6.5"},{"type":"ecosystem","introduced":"1.7a0","status":"affected","fixed":"1.7b4"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"}],"references":[{"url":"http://secunia.com/advisories/61281","tags":["advisory","third-party-advisory","web","x-refsource-secunia","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.debian.org/security/2014/dsa-2934","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://ubuntu.com/usn/usn-2212-1","tags":["third-party-advisory","vendor-advisory","web","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.securityfocus.com/bid/67410","tags":["third-party-advisory","vdb-entry","web","x-refsource-bid","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html","tags":["third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/15/3","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued/","tags":["article","patch","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/14/10","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3730","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/601107524523bca02376a0ddc1a06c6fdb8f22f3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/7feb54bbae3f637ab3c4dd4831d4385964f574df","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/ad32c218850ad40972dcef57beb460f8c979dd6d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-20.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20200228171223/http://www.securityfocus.com/bid/67410","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-vq3h-3q7v-9prw","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"debian","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2014-3730","url":"https://www.cve.org/CVERecord?id=CVE-2014-3730","licence":"CVE Terms of Use","modified":"2024-08-06T10:50:18.338Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vq3h-3q7v-9prw","url":"https://github.com/advisories/GHSA-vq3h-3q7v-9prw","licence":"CC-BY-4.0","modified":"2025-02-19T05:38:07.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2014-3730","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3730","licence":"Public domain","modified":"2026-06-17T00:08:48.937Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2014-20","url":"https://osv.dev/vulnerability/PYSEC-2014-20","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:46.248Z"}],"updatedAt":"2026-11-25T22:57:19.010Z","epss":{"score":0.03138,"percentile":0.88244,"date":"2026-12-01T12:00:22.000Z"}}