CVE-2012-3442Cross-site Scripting in Django

CWE-79Cross-site Scripting10 documents7 sources
Severity
4.3MEDIUMNVD
EPSS
0.5%
top 34.15%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJul 31
Latest updateMay 17

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 vector

AV:N/AC:M/C:N/I:P/A:NExploitability: 8.6 | Impact: 2.9

Affected Packages2 packages

PyPIdjangoproject/django1.41.4.1+1

Patches

🔴Vulnerability Details

4
OSV
Django Allows Redirect via Data URL2022-05-17
GHSA
Django Allows Redirect via Data URL2022-05-17
CVEList
CVE-2012-3442: The (1) django2012-07-31
OSV
CVE-2012-3442: The (1) django2012-07-31

📋Vendor Advisories

2
Ubuntu
Django vulnerabilities2012-09-10
Debian
CVE-2012-3442: python-django - The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermane...2012

💬Community

3
Bugzilla
CVE-2012-3442 Django: 1.3.1 and 1.4.0 Cross-site scripting in authentication views [fedora-all]2012-07-31
Bugzilla
CVE-2012-3442 Django: 1.3.1 and 1.4.0 Cross-site scripting in authentication views2012-07-31
Bugzilla
CVE-2012-3442 Django: 1.3.1 and 1.4.0 Cross-site scripting in authentication views [epel-all]2012-07-31
CVE-2012-3442 — Cross-site Scripting in Django | cvebase