ADVISORIES

Vulnerability

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 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.

4 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Debian 2PyPI 2

Advisories

  • DEBIAN-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 supporting arbitrary HTTP Host headers, which allows remote attackers to trigger…

    CVE-2011-4140 Debian Updated 23 October 2026
  • DSA-2332-1

    python-django - several issues

    CVE-2011-4136CVE-2011-4137CVE-2011-4138CVE-2011-4139 Debian Updated 20 November 2026
  • GHSA-h95j-h2rv-qrg4

    Django Cross-Site Request Forgery vulnerability

    High CVE-2011-4140 PyPI Updated 16 September 2024
  • PYSEC-2011-5

    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…

    CVE-2011-4140 PyPI Updated 8 November 2023

References