All reports
High

Django Cross-Site Request Forgery vulnerability

Affected versions

Version ranges need review.

Affected versions
<1.2.7 || >=1.3 <1.3.1 || =1.0.1 || =1.0.2 || =1.0.3 || =1.0.4 || =1.1 || =1.1.1 || =1.1.2 || =1.1.3 || =1.1.4 || =1.2 || =1.2.1 || =1.2.2 || =1.2.3 || =1.2.4 || =1.2.5 || =1.2.6 || =1.3
Fixed version
1.2.7 · 1.3.1
Affected versions
>= 1.3, <= 1.3.1
Fixed version
Not reported
Affected versions
<= 1.2.7
Fixed version
Not reported

Exploitation

CVE-2011-4140

Probability of exploitation in the next 30 days: 1.09%

FIRST EPSS · 2026-11-23

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.

Links