CVE-2016-2512
HIGH7.4EPSS 1.2%python-django - security update
Published: 5/17/2022Modified: 4/28/2026
Description
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.
Affected packages (4)
- Debian/python-djangofrom 0, < 1.9.4-1
- Debian/python-djangofrom 0, < 1.4.5-1+deb7u16
- PyPI/djangofrom 0, < 1.8.10
- PyPI/djangofrom 0, < c5544d289233f501917e25970c03ed444abbd4f0 | from 0, < 1.8.10, >= 1.9, < 1.9.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
References (22)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-2512
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-2512
- ADVISORYhttps://www.djangoproject.com/weblog/2016/mar/01/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttp://rhn.redhat.com/errata/RHSA-2016-0502.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2016-0504.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2016-0505.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2016-0506.html
- WEBhttps://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350
- WEBhttps://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0
- WEBhttps://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml
- WEBhttps://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879
- WEBhttps://web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152
- WEBhttps://www.djangoproject.com/weblog/2016/mar/01/security-releases
- WEBhttp://www.debian.org/security/2016/dsa-3544
- WEBhttp://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- WEBhttp://www.securityfocus.com/bid/83879
- WEBhttp://www.securitytracker.com/id/1035152
- WEBhttp://www.ubuntu.com/usn/USN-2915-1
- WEBhttp://www.ubuntu.com/usn/USN-2915-2
- WEBhttp://www.ubuntu.com/usn/USN-2915-3