Critical severityNVD Advisory· Published Jul 31, 2012· Updated Jun 16, 2026
CVE-2012-3442
CVE-2012-3442
Description
The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermanentRedirect classes in Django before 1.3.2 and 1.4.x before 1.4.1 do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.
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.3.2 | 1.3.2 |
DjangoPyPI | >= 1.4, < 1.4.1 | 1.4.1 |
Affected products
3cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*range: <1.3.2
- cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
12- www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/nvdPatchVendor Advisory
- www.debian.org/security/2012/dsa-2529nvdThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2012/07/31/1nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2012/07/31/2nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-78vx-ggch-wghmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2012-3442ghsaADVISORY
- www.mandriva.com/security/advisoriesnvdBroken LinkWEB
- www.ubuntu.com/usn/USN-1560-1nvdBroken LinkWEB
- github.com/django/django/commit/4dea4883e6c50d75f215a6b9bcbd95273f57c72dghsaWEB
- github.com/django/django/commit/e34685034b60be1112160e76091e5aee60149fa1ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-2.yamlghsaWEB
- www.djangoproject.com/weblog/2012/jul/30/security-releases-issuedghsaWEB
News mentions
0No linked articles in our index yet.