CVE-2016-2512
publishedpython-django: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | python-django | Advisory build | 1.7.7-1+deb8u4 | DSA-3544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-Djangoaarch64 | Advisory build | 1.10.4-1.1 | OPENSUSE-SU-2024:10361-1 |
| Ubuntu | trusty | python-django | Advisory build | 1.6.1-2ubuntu0.12 | USN-2915-1 |
| Debian | wheezy | python-django | Advisory build | 1.4.5-1+deb7u16 | DSA-3544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-Djangoppc64le | Advisory build | 1.10.4-1.1 | OPENSUSE-SU-2024:10361-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-Djangos390x | Advisory build | 1.10.4-1.1 | OPENSUSE-SU-2024:10361-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-Djangox86_64 | Advisory build | 1.10.4-1.1 | OPENSUSE-SU-2024:10361-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
13- RHSA-2016:0502 http://rhn.redhat.com/errata/RHSA-2016-0502.html
- RHSA-2016:0504 http://rhn.redhat.com/errata/RHSA-2016-0504.html
- RHSA-2016:0505 http://rhn.redhat.com/errata/RHSA-2016-0505.html
- RHSA-2016:0506 http://rhn.redhat.com/errata/RHSA-2016-0506.html
- DSA-3544 http://www.debian.org/security/2016/dsa-3544
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- 83879 http://www.securityfocus.com/bid/83879
- 1035152 http://www.securitytracker.com/id/1035152
- USN-2915-1 http://www.ubuntu.com/usn/USN-2915-1
- USN-2915-2 http://www.ubuntu.com/usn/USN-2915-2
- USN-2915-3 http://www.ubuntu.com/usn/USN-2915-3
- https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 12b6908ff148642ca181ed37ce289ce8188773356f5925ba27177208c9736b74
- Ingested
- 23 Sep 2026, 07:41:13 UTC
- Source record
- Official CVE record