{"id":"UBUNTU-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.","modified":"2026-01-30T02:41:43.534387Z","published":"2016-03-01T17:00:00Z","related":["USN-2915-1"],"upstream":["CVE-2016-2512"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-2512"},{"type":"REPORT","url":"https://www.djangoproject.com/weblog/2016/mar/01/security-releases/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2915-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-2512"}],"affected":[{"package":{"name":"python-django","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python-django@1.6.1-2ubuntu0.12?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-2ubuntu0.12"}]}],"versions":["1.5.4-1ubuntu1","1.6-1","1.6.1-1","1.6.1-2","1.6.1-2ubuntu0.1","1.6.1-2ubuntu0.2","1.6.1-2ubuntu0.3","1.6.1-2ubuntu0.4","1.6.1-2ubuntu0.5","1.6.1-2ubuntu0.6","1.6.1-2ubuntu0.8","1.6.1-2ubuntu0.9","1.6.1-2ubuntu0.10","1.6.1-2ubuntu0.11"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-django","binary_version":"1.6.1-2ubuntu0.12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-2512.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}