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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-2529-1 python-django security update
EUVD EUVD EUVD-2012-0003 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.
Github GHSA Github GHSA GHSA-78vx-ggch-wghm Django Allows Redirect via Data URL
Ubuntu USN Ubuntu USN USN-1560-1 Django vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T20:05:12.572Z

Reserved: 2012-06-14T00:00:00

Link: CVE-2012-3442

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2012-07-31T17:55:01.607

Modified: 2025-04-11T00:51:21.963

Link: CVE-2012-3442

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.