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
Published Jul 31, 2012
9.3
CRITICALCVSS 4.0
EPSS 2.08%
Description
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 products
No data.
- < 1.3.2
- 1.4
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.08% (0.02081) | 80.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.07% (0.02072) | 78.91th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.44% (0.00442) | 61.15th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.36% (0.00357) | 72.96th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00357) | 71.30th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.36% (0.00357) | 67.65th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.32% (0.01319) | 71.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.32% (0.01319) | 69.22th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
References (11)
- http://www.debian.org/security/2012/dsa-2529 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:143 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.openwall.com/lists/oss-security/2012/07/31/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2012/07/31/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.ubuntu.com/usn/USN-1560-1 vendor-advisoryx_refsource_UBUNTUBroken Link
- https://github.com/advisories/GHSA-78vx-ggch-wghm Advisory
- https://github.com/django/django/commit/4dea4883e6c50d75f215a6b9bcbd95273f57c72d
- https://github.com/django/django/commit/e34685034b60be1112160e76091e5aee60149fa1
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-2.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2012-3442
- https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued x_refsource_CONFIRMPatchVendor Advisory
Change history (0)
No recorded changes yet.