Vulnerabilities · 2012 · Djangoproject
CVE-2012-3442
Djangoproject Django vulnerability
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.
Affected products
Django. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/ · Patch
- www.debian.org/security/2012/dsa-2529
- www.mandriva.com/security/advisories?name=MDVSA-2012:143
- www.openwall.com/lists/oss-security/2012/07/31/1
- www.openwall.com/lists/oss-security/2012/07/31/2
- www.ubuntu.com/usn/USN-1560-1
- nvd.nist.gov/vuln/detail/CVE-2012-3442
- github.com/django/django/commit/4dea4883e6c50d75f215a6b9bcbd95273f57c72d
- nvd.nist.gov/vuln/detail/CVE-2012-3442
- cve.org/CVERecord?id=CVE-2012-3442
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.