ADVISORIES

Vulnerability

CVE-2012-3442

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.

4 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Debian 2PyPI 2

Advisories

  • DEBIAN-CVE-2012-3442

    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…

    CVE-2012-3442 Debian Updated 18 November 2026
  • DSA-2529-1

    python-django - several

    CVE-2012-3442CVE-2012-3443CVE-2012-3444 Debian Updated 20 November 2026
  • GHSA-78vx-ggch-wghm

    Django Allows Redirect via Data URL

    Critical CVE-2012-3442 PyPI Updated 26 November 2024
  • PYSEC-2012-2

    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…

    CVE-2012-3442 PyPI Updated 10 June 2026

References