High severity7.4NVD Advisory· Published Apr 8, 2016· Updated Jun 17, 2026
CVE-2016-2512
CVE-2016-2512
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
DjangoPyPI | < 1.8.10 | 1.8.10 |
DjangoPyPI | >= 1.9a1, < 1.9.3 | 1.9.3 |
Affected products
9cpe:2.3:a:djangoproject:django:1.8.9:*:*:*:*:*:*:*+ 3 more
- cpe:2.3:a:djangoproject:django:1.8.9:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*
- ghsa-coords5 versionspkg:pypi/djangopkg:rpm/opensuse/python-Django&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-Django&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/python-Django&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/python-Django&distro=SUSE%20OpenStack%20Cloud%206
< 1.8.10+ 4 more
- (no CPE)range: < 1.8.10
- (no CPE)range: < 1.10.4-1.1
- (no CPE)range: < 1.6.11-5.5.1
- (no CPE)range: < 1.6.11-6.5.1
- (no CPE)range: < 1.8.19-3.6.1
Patches
Vulnerability mechanics
References
21- github.com/advisories/GHSA-pw27-w7w4-9qc7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-2512ghsaADVISORY
- www.djangoproject.com/weblog/2016/mar/01/security-releases/nvdVendor Advisory
- rhn.redhat.com/errata/RHSA-2016-0502.htmlnvdWEB
- rhn.redhat.com/errata/RHSA-2016-0504.htmlnvdWEB
- rhn.redhat.com/errata/RHSA-2016-0505.htmlnvdWEB
- rhn.redhat.com/errata/RHSA-2016-0506.htmlnvdWEB
- www.debian.org/security/2016/dsa-3544nvdWEB
- www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.htmlnvdWEB
- www.ubuntu.com/usn/USN-2915-1nvdWEB
- www.ubuntu.com/usn/USN-2915-2nvdWEB
- www.ubuntu.com/usn/USN-2915-3nvdWEB
- github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350ghsaWEB
- github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0nvdWEB
- github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yamlghsaWEB
- web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879ghsaWEB
- web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152ghsaWEB
- www.djangoproject.com/weblog/2016/mar/01/security-releasesghsaWEB
- www.securityfocus.com/bid/83879nvd
- www.securitytracker.com/id/1035152nvd
News mentions
0No linked articles in our index yet.