{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-3442","published":"2012-07-31T17:55:01.607000Z","last_modified":"2026-06-16T23:43:13.880000Z","status":"Analyzed","cvss":{"version":"2.0","score":4.3,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_end_excluding":"1.3.2"},{"criteria":"cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.4"}],"cpes_truncated":false,"vendors":["djangoproject"],"products":["djangoproject/django"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-78vx-ggch-wghm","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.3.2"}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1"]},{"advisory":"GHSA-78vx-ggch-wghm","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.4","fixed":"1.4.1"}],"versions":["1.4"]},{"advisory":"PYSEC-2012-2","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.3.2"},{"introduced":"1.4","fixed":"1.4.1"}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.4"]}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2012-3442/","html_en":"/en/cve/CVE-2012-3442/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-3442","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-3442"},"untrusted":{"vendor_name":"Djangoproject","product_name":"Django","desc_en":"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.","affected":[],"references":[{"url":"http://www.debian.org/security/2012/dsa-2529","tags":["Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:143","tags":["Broken Link"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/31/1","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/31/2","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1560-1","tags":["Broken Link"]},{"url":"https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/","tags":["Patch","Vendor Advisory"]}]}}