Back
CVE-2011-4140
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…
Medium6.8EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-h95j-h2rv-qrg4 (opens in a new tab)
References (8)
- openSUSE-SU-2012:0653 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-2332 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 46614 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.djangoproject.com/weblog/2011/sep/10/127/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.djangoproject.com/weblog/2011/sep/09/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h95j-h2rv-qrg4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .