{"id":"CVE-2016-2512","details":"The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\\@attacker.com.","aliases":["GHSA-pw27-w7w4-9qc7","PYSEC-2016-15"],"modified":"2026-07-08T12:41:23.387086Z","published":"2016-04-08T15:59:06.183Z","related":["SUSE-SU-2018:1102-1","SUSE-SU-2018:1828-1","SUSE-SU-2018:1830-1","openSUSE-SU-2024:10361-1"],"references":[{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/83879"},{"type":"WEB","url":"http://www.securitytracker.com/id/1035152"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0502.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0504.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0505.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0506.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3544"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2915-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2915-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2915-3"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2016/mar/01/security-releases/"},{"type":"FIX","url":"https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"c982190acf7bcfba5e78a7505a45774916865569"},{"last_affected":"c00335997744196738368f46c30ef2eeaa0ac849"},{"fixed":"c5544d289233f501917e25970c03ed444abbd4f0"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:djangoproject:django:1.8.9:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.8.9"},{"last_affected":"1.8.9"},{"introduced":"1.9"},{"last_affected":"1.9"},{"introduced":"1.9.1"},{"last_affected":"1.9.1"},{"introduced":"1.9.2"},{"last_affected":"1.9.2"}]}}],"versions":["1.8.9","1.9","1.9.1","1.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2512.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"}]}