{"id":"CVE-2016-2512","aliases":["GHSA-pw27-w7w4-9qc7","PYSEC-2016-15"],"url":"https://o3.security/vulnerability/CVE-2016-2512","summary":"Django XSS Vulnerability","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.","published":"2016-04-08T15:59:06.183Z","modified":"2026-07-08T12:41:23.387086Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.8.10"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.9.3"}],"fix":{"url":"https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0","label":"django/django@c5544d2"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:41:23.387086Z"}}