{"cve":"CVE-2011-4140","nvd":{"published":"2011-10-19T10:55:04.643","modified":"2026-06-16T23:34:30.070","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-352"],"references":["http://openwall.com/lists/oss-security/2011/09/11/1","http://openwall.com/lists/oss-security/2011/09/13/2","http://secunia.com/advisories/46614","http://www.debian.org/security/2011/dsa-2332","https://bugzilla.redhat.com/show_bug.cgi?id=737366"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T19:59:31.623151214+00:00"},"epss":{"cve":"CVE-2011-4140","score":0.01093,"percentile":0.65436,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h95j-h2rv-qrg4","url":"https://osv.dev/vulnerability/GHSA-h95j-h2rv-qrg4","summary":"Django Cross-Site Request Forgery vulnerability","modified":"2024-09-16T22:22:09.722052Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<=1.2.7"],"fixed":[]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.3 <=1.3.1"],"fixed":[]}]},{"id":"PYSEC-2011-5","url":"https://osv.dev/vulnerability/PYSEC-2011-5","summary":"","modified":"2023-11-08T03:57:01.444138Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.2.7",">=1.3 <1.3.1"],"fixed":["1.2.7","1.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}