{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.4.1-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1.4.1-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-3442"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-08-14T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 9.3, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "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", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "vulnConfidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "pypi", "product": "django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.3.2", "versionType": "custom"}, {"status": "affected", "version": "1.4", "lessThan": "1.4.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.debian.org/security/2012/dsa-2529"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:143"}, {"url": "http://www.openwall.com/lists/oss-security/2012/07/31/1"}, {"url": "http://www.openwall.com/lists/oss-security/2012/07/31/2"}, {"url": "http://www.ubuntu.com/usn/USN-1560-1"}, {"url": "https://github.com/advisories/GHSA-78vx-ggch-wghm"}, {"url": "https://github.com/django/django"}, {"url": "https://github.com/django/django/commit/4dea4883e6c50d75f215a6b9bcbd95273f57c72d"}, {"url": "https://github.com/django/django/commit/e34685034b60be1112160e76091e5aee60149fa1"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-2.yaml"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3442"}, {"url": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued"}, {"url": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/"}], "descriptions": [{"lang": "en", "value": "Django Allows Redirect via Data URL"}, {"lang": "en", "value": "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."}, {"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2012-07-31T17:55:00Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*"], "vendor": "djangoproject", "product": "django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.3.2", "versionType": "custom"}, {"status": "affected", "version": "1.4"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:143", "tags": ["broken-link"]}, {"url": "http://www.ubuntu.com/usn/USN-1560-1", "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": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/", "tags": ["patch", "vendor-advisory"]}, {"url": "http://www.debian.org/security/2012/dsa-2529", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Las clases (1) django.http.HttpResponseRedirect y (2) django.http.HttpResponsePermanentRedirect en Django anteriores a v1.3.2 y v1.4.x anteriores a v1.4.1 no validan el esquema de un destino dredireccionado, lo que podría permitir a atacantes remotos conducir un ataque de secuencias de comandos en sitios cruzados (XSS) a través de un dato: URL."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-07-31T17:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-3442", "state": "PUBLISHED", "dateUpdated": "2026-04-16T21:06:54Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2012-07-31T17:55:01Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}