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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.064%
chance of exploitation in the next 30 days
higher than 81.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2012-07-31Published by the CNA17:00 UTC
- 2022-05-17GitHub advisory published (GHSA-78vx-ggch-wghm)3577 days after publication
Exploit and advisory records
GitHub advisory GHSA-78vx-ggch-wghm, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| PyPI | django | < 1.3.2 | 1.3.2 |
| PyPI | django | >= 1.4, < 1.4.1 | 1.4.1 |
Affected products
| Vendor | Product |
|---|---|
| djangoproject | django |
References
- https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/
- http://www.debian.org/security/2012/dsa-2529
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:143
- http://www.ubuntu.com/usn/USN-1560-1
- http://www.openwall.com/lists/oss-security/2012/07/31/1
- http://www.openwall.com/lists/oss-security/2012/07/31/2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-3442'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-3442'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-3442'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-3442'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).