CVE-2012-4520: djangoproject django Improper Input Validation
Vulnerability summary
CVE-2012-4520 is a medium (CVSS 6.4) Improper Input Validation vulnerability in djangoproject django. EPSS estimates a 3.74% chance of exploitation in the next 30 days, higher than 90.1% of scored vulnerabilities.
Severe, CVSS 8.7 (OSV · Pypi); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 18-11-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.
CVSS metrics
3 scores · 2 sources · 3 versionsEPSS trend
Probability
3.74%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 3.67% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- python-django< 1.4.2-1
Djangoproject1 product
- djangoEOL1.3 | 1.3:alpha1 | 1.3:beta1 | 1.3.1 | 1.3.2 | 1.3.3 | 1.4 | 1.4.1
PyPI1 product
- django≥ 1.3, < 1.3.4 | < 92d3430f12171f16f566c9050c40feefb830a4a3 | ≥ 1.4, < 1.4.2
3 vendors · 3 products
References
32 links- lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.htmlVendor AdvisoryX Refsource FEDORAWEB
Show all 32 references
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.htmlVendor AdvisoryX Refsource FEDORAWEB
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.htmlVendor AdvisoryX Refsource FEDORAWEB
- github.com/django/djangoPACKAGE