The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code
Published Oct 19, 2011
8.7
HIGHCVSS 4.0
EPSS 1.09%
Description
The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.
Affected products
No data.
- ≤ 1.2.6
- 0.91
- 0.95
- 0.95.1
- 0.96
- 1.0
- 1.0.1
- 1.0.2
- 1.1
- 1.1.0
- 1.1.2
- 1.1.3
- 1.2
- 1.2.1
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.3
- 1.3
- 1.3
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:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
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 | 1.09% (0.01093) | 64.19th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.09% (0.01093) | 60.98th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.40% (0.00400) | 58.58th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.11% (0.02110) | 88.85th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.37% (0.00373) | 71.93th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00373) | 68.40th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Mar 2, 2023 | 1.41% (0.01408) | 72.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.41% (0.01408) | 70.87th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.41% (0.01408) | 49.94th | v2 (v2022.01.01) |
References (12)
- http://openwall.com/lists/oss-security/2011/09/11/1 mailing-listx_refsource_MLISTPatch
- http://openwall.com/lists/oss-security/2011/09/13/2 mailing-listx_refsource_MLISTPatch
- http://secunia.com/advisories/46614 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2011/dsa-2332 vendor-advisoryx_refsource_DEBIAN
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 x_refsource_CONFIRMPatch
- https://github.com/advisories/GHSA-h95j-h2rv-qrg4 Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml
- https://hermes.opensuse.org/messages/14700881 vendor-advisoryx_refsource_SUSE
- https://nvd.nist.gov/vuln/detail/CVE-2011-4140
- https://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614
- https://www.djangoproject.com/weblog/2011/sep/09 x_refsource_CONFIRMPatchVendor Advisory
- https://www.djangoproject.com/weblog/2011/sep/10/127 x_refsource_CONFIRMPatch
| Link | Providers | Tags |
|---|---|---|
| http://openwall.com/lists/oss-security/2011/09/11/1 | mailing-listx_refsource_MLISTPatch | |
| http://openwall.com/lists/oss-security/2011/09/13/2 | mailing-listx_refsource_MLISTPatch | |
| http://secunia.com/advisories/46614 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.debian.org/security/2011/dsa-2332 | vendor-advisoryx_refsource_DEBIAN | |
| https://bugzilla.redhat.com/show_bug.cgi?id=737366 | x_refsource_CONFIRMPatch | |
| https://github.com/advisories/GHSA-h95j-h2rv-qrg4 | Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml | ||
| https://hermes.opensuse.org/messages/14700881 | vendor-advisoryx_refsource_SUSE | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-4140 | ||
| https://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614 | ||
| https://www.djangoproject.com/weblog/2011/sep/09 | x_refsource_CONFIRMPatchVendor Advisory | |
| https://www.djangoproject.com/weblog/2011/sep/10/127 | x_refsource_CONFIRMPatch |
Change history (0)
No recorded changes yet.