python-django: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth
Published Apr 8, 2016
6.3
MEDIUMCVSS 4.0
EPSS 4.05%
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 products
No data.
- 1.8.9
- 1.9
- 1.9.1
- 1.9.2
No data.
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6
python-django-0:1.6.11-5.el6ost
Fixed · RHSA-2016:0502
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7
python-django-0:1.6.11-5.el7ost
Fixed · RHSA-2016:0506
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7
python-django-0:1.6.11-5.el7ost
Fixed · RHSA-2016:0505
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7
python-django-0:1.8.11-1.el7ost
Fixed · RHSA-2016:0504
Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7
python-django-0:1.6.11-5.el7ost
Fixed · RHSA-2016:0503
Red Hat Ceph Storage 1.2
Django
Affected
Red Hat Ceph Storage 1.3
Django
Affected
Red Hat OpenStack Platform 8 (Liberty)
python-django
Not affected
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
python-django
Not affected
Red Hat Subscription Asset Manager
Django
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 | python-django-0:1.6.11-5.el6ost | Fixed | RHSA-2016:0502 |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 | python-django-0:1.6.11-5.el7ost | Fixed | RHSA-2016:0506 |
| Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 | python-django-0:1.6.11-5.el7ost | Fixed | RHSA-2016:0505 |
| Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | python-django-0:1.8.11-1.el7ost | Fixed | RHSA-2016:0504 |
| Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 | python-django-0:1.6.11-5.el7ost | Fixed | RHSA-2016:0503 |
| Red Hat Ceph Storage 1.2 | Django | Affected | n/a |
| Red Hat Ceph Storage 1.3 | Django | Affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | python-django | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | python-django | Not affected | n/a |
| Red Hat Subscription Asset Manager | Django | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.05% (0.04053) | 90.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.00% (0.04002) | 89.17th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.26% (0.01262) | 78.05th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.32% (0.00320) | 71.42th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00320) | 69.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00320) | 65.85th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.41% (0.03407) | 84.65th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.41% (0.03407) | 83.10th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.41% (0.03407) | 66.20th | v2 (v2022.01.01) |
References (23)
- http://rhn.redhat.com/errata/RHSA-2016-0502.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-0504.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-0505.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-0506.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3544 vendor-advisoryx_refsource_DEBIAN
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/83879 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1035152 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2915-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2915-2 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2915-3 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2016-2512 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1311431 Issue Tracking
- https://github.com/advisories/GHSA-pw27-w7w4-9qc7 Advisory
- https://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350
- https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0 x_refsource_CONFIRM
- https://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2016-2512
- https://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879
- https://web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152
- https://www.cve.org/CVERecord?id=CVE-2016-2512
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.