{"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-04-16T06:16:45.275957229Z","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-0504.html"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2915-1"},{"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":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0502.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-2"},{"type":"FIX","url":"https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"0"},{"last_affected":"c982190acf7bcfba5e78a7505a45774916865569"},{"introduced":"0"},{"last_affected":"3df8ccf6fc3fa0ab2acf9a03da43fea87f8ff392"},{"introduced":"0"},{"last_affected":"e70a309c428cfd4e600dc9fa0c7269b1e7a8efcd"},{"introduced":"0"},{"last_affected":"c00335997744196738368f46c30ef2eeaa0ac849"},{"fixed":"c5544d289233f501917e25970c03ed444abbd4f0"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.8.9"},{"introduced":"0"},{"last_affected":"1.9"},{"introduced":"0"},{"last_affected":"1.9.1"},{"introduced":"0"},{"last_affected":"1.9.2"}]}}],"versions":["1.0","1.1","1.2","1.2.1","1.3","1.4","1.7a2","1.8","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.8a1","1.8b1","1.8b2","1.8c1","1.9","1.9.1","1.9.10","1.9.11","1.9.12","1.9.13","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","1.9a1","1.9b1","1.9rc1","1.9rc2","stable/1.9.x"],"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"}]}