CVE-2012-3442
Python packages · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.064% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:24:28.001Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:24:28.001Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:50.001Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:54:19.853Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:19.853Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/1",
"name": "[oss-security] 20120730 CVE Request: Django 1.3.1 and 1.4.0 security issues",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:143",
"name": "MDVSA-2012:143",
"tags": [
"vendor-advisory",
"x_refsource_MANDRIVA",
"x_transferred"
]
},
{
"url": "http://www.ubuntu.com/usn/USN-1560-1",
"name": "USN-1560-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/2",
"name": "[oss-security] 20120730 Re: CVE Request: Django 1.3.1 and 1.4.0 security issues",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2012/dsa-2529",
"name": "DSA-2529",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T20:05:12.572Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-78vx-ggch-wghm",
"aliases": [
"CVE-2012-3442",
"PYSEC-2012-2"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.2"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"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"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-78vx-ggch-wghm/GHSA-78vx-ggch-wghm.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.4"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-78vx-ggch-wghm/GHSA-78vx-ggch-wghm.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3442",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/4dea4883e6c50d75f215a6b9bcbd95273f57c72d",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/e34685034b60be1112160e76091e5aee60149fa1",
"type": "WEB"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-2.yaml",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2012/dsa-2529",
"type": "WEB"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:143",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/1",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/2",
"type": "WEB"
},
{
"url": "http://www.ubuntu.com/usn/USN-1560-1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2012-07-31T17:55:00Z",
"github_reviewed_at": "2023-08-29T21:47:28Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2012-2",
"aliases": [
"CVE-2012-3442",
"GHSA-78vx-ggch-wghm"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.2"
},
{
"introduced": "1.4"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"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"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2012-2.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/",
"type": "ARTICLE"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/1",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/07/31/2",
"type": "WEB"
},
{
"url": "http://www.ubuntu.com/usn/USN-1560-1",
"type": "ADVISORY"
},
{
"url": "http://www.debian.org/security/2012/dsa-2529",
"type": "ADVISORY"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:143",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-78vx-ggch-wghm",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.3.2 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.4.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:19.853ZArchived source JSON
Source publication: 2012-07-31T17:00:00.000Z
Source modification: 2024-08-06T20:05:12.572ZDocument fingerprint
6d3ba7cb7c2c0209b5e6e487510bf7ee4977a618ba815d6e9cf007b0b2b48663 - CISA KEVConsulted: 2026-11-19T15:24:28.001ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T12:59:50.001ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f0d6647422369727d3af3269f71c71fe5470ae2b3c1a32527e040ac9784d4315 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2022-05-17T05:12:01.000Z
Source modification: 2024-11-26T05:26:46.437ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2012-07-31T17:55:00.000Z
Source modification: 2026-06-10T17:00:52.463ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177
Official status history
- UNKNOWN → PUBLISHED · · evidence