CVE-2012-3442: djangoproject django Cross-site Scripting
CVSS: 4.3v2.0MediumAnalyzed
AliasesGHSA-78vx-ggch-wghmPYSEC-2012-2DEBIAN-CVE-2012-3442
Published 31-07-2012Last modified 06-08-2024
Vulnerability summary
CVE-2012-3442 is a medium (CVSS 4.3) Cross-site Scripting vulnerability in djangoproject django. EPSS estimates a 2.08% chance of exploitation in the next 30 days, higher than 81.3% of scored vulnerabilities.
CVSS score
4.3/10
010
Medium · v2.0 (NVD)EPSS score
2.08%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 31-07-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 3 versionsCritical 9.3Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NSourcesSingle source
Medium 6.1Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NSourcesSingle source
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
2.08%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.08% on 22-09-2026
22-09-202622-10-2026
EPSS score2.08%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- python-django< 1.4.1-1
Djangoproject1 product
- djangoEOL< 1.3.2 | 1.4
PyPI1 product
- django< 1.3.2 | ≥ 1.4, < 1.4.1
3 vendors · 3 products
References
14 links- www.openwall.com/lists/oss-security/2012/07/31/1Mailing ListX Refsource MLISTThird Party AdvisoryWEB
- www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/X Refsource CONFIRMPatchVendor AdvisoryARTICLE
- www.mandriva.com/security/advisories?name=MDVSA-2012:143Vendor AdvisoryX Refsource MANDRIVABroken LinkWEBAdvisory
- www.openwall.com/lists/oss-security/2012/07/31/2Mailing ListX Refsource MLISTThird Party AdvisoryWEB
- www.debian.org/security/2012/dsa-2529Vendor AdvisoryX Refsource DEBIANThird Party AdvisoryWEBAdvisory
- github.com/django/djangoPACKAGE