Read the docs
TI-2011-03657 Aliases CVE-2011-4140GHSA-h95j-h2rv-qrg4

The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not…

Priority LOW 32CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Tampering
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
No fix listed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-352.

Summary

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.

Why it matters now

EPSS 0.01093 65th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)up to 1.2.7—No fix listedGHSA-h95j-h2rv-qrg4
—Django (PyPI)1.3 – 1.3.1—No fix listedGHSA-h95j-h2rv-qrg4
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected up to 1.2.7 Fixed in — No fix listed GHSA-h95j-h2rv-qrg4
  • Django (PyPI) Vendor— Affected 1.3 – 1.3.1 Fixed in — No fix listed GHSA-h95j-h2rv-qrg4

CPE configurations NVD · 22

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*up to 1.2.6Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:0.91:*:*:*:*:*:*:*0.91Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:0.95:*:*:*:*:*:*:*0.95Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:0.95.1:*:*:*:*:*:*:*0.95.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:0.96:*:*:*:*:*:*:*0.96Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.0:*:*:*:*:*:*:*1.0Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.0.1:*:*:*:*:*:*:*1.0.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.0.2:*:*:*:*:*:*:*1.0.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.1:*:*:*:*:*:*:*1.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.1.0:*:*:*:*:*:*:*1.1.0Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions up to 1.2.6 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:0.91:*:*:*:*:*:*:* Versions 0.91 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:0.95:*:*:*:*:*:*:* Versions 0.95 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:0.95.1:*:*:*:*:*:*:* Versions 0.95.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:0.96:*:*:*:*:*:*:* Versions 0.96 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.0:*:*:*:*:*:*:* Versions 1.0 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.0.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.1:*:*:*:*:*:*:* Versions 1.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.1.0:*:*:*:*:*:*:* Versions 1.1.0 Vulnerable ·djangoproject
Show 12 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:1.1.2:*:*:*:*:*:*:*1.1.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.1.3:*:*:*:*:*:*:*1.1.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2:*:*:*:*:*:*:*1.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.1:*:*:*:*:*:*:*1.2.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.1:2:*:*:*:*:*:*1.2.1 2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.2:*:*:*:*:*:*:*1.2.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.3:*:*:*:*:*:*:*1.2.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.4:*:*:*:*:*:*:*1.2.4Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.2.5:*:*:*:*:*:*:*1.2.5Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*1.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*1.3 alpha1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3:alpha2:*:*:*:*:*:*1.3 alpha2Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:1.1.2:*:*:*:*:*:*:* Versions 1.1.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.1.3:*:*:*:*:*:*:* Versions 1.1.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2:*:*:*:*:*:*:* Versions 1.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.1:*:*:*:*:*:*:* Versions 1.2.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.1:2:*:*:*:*:*:* Versions 1.2.1 2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.2:*:*:*:*:*:*:* Versions 1.2.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.3:*:*:*:*:*:*:* Versions 1.2.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.4:*:*:*:*:*:*:* Versions 1.2.4 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.2.5:*:*:*:*:*:*:* Versions 1.2.5 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:* Versions 1.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:* Versions 1.3 alpha1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3:alpha2:*:*:*:*:*:* Versions 1.3 alpha2 Vulnerable ·djangoproject

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2011-4140
  2. 2026-10-03 Alias added: GHSA-h95j-h2rv-qrg4

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
See all 156 →

Sources