Back to CVE catalog
CVE-2012-3442

Improper validation of redirect scheme in Django

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v4.0

9.3Critical
Published:
Updated:
EPSS:
2.064%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:djangoprojectdjangoAffected versions:
< 1.3.2Show full version range for django
1.4
Vendor:Debianpython-django
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.4.1-1
Vendor:Debianpython-django-doc
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.4.1-1
Vendor:pypidjangoAffected versions:
< 1.3.2Show full version range for django
≥ 1.4, < 1.4.1

1–4 of 4 · Page 1 of 1

CVSS scores and metrics4
pypi · Wazuh CTI (adp)Primary9.3 / 10CriticalCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source 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:N
pypi · Wazuh CTI (adp)6.1 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences