Vulnerability · CVE-2012-4520
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 cr…
Published Nov 18, 2012 · catalog updated Jun 16, 2026 · the affected product
Last checked Nov 8, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2012-4520. EPSS is 3.74%. Act only if a listed version of the affected product is installed.
Gaps on this record
- No plain product name is stored. The page cannot tell you which product to check.
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-15920 · Medium
- CVE-2026-15830 · Medium
- CVE-2026-15337 · Medium
- CVE-2026-15307 · High
- CVE-2026-53878 · Medium
- Severity
- Medium6.4
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 3.74%
- Remediation
- Advisory link
- Affected products
- cpe djangoproject/django
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe djangoproject/django1.3
- cpe djangoproject/django1.3.1
- cpe djangoproject/django1.3.2
- cpe djangoproject/django1.3.3
How to fix CVE-2012-4520
No stored fix
No vendor fix text is stored. Use the linked advisory before you change production.
Version check
Seen in 1.3 · 3 other packages on the advisory
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2012-4520. EPSS is 3.74%. Act only if a listed version of the affected product is installed.
Which versions are affected?
Compare what you have installed with 1.3, 1.3.1, 1.3.2, 1.3.3. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-20: Improper Input Validation. EPSS 3.74%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Nov 18, 2012 · Monitored products — high
Detected
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.
Jun 16, 2026 · Monitored products — high
Updated
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.
Sources
- CVE.orgVulnerability recordCVE-2012-4520
Official CVE identifier
cve.org - Monitored products — highVendor advisoryCVE-2012-4520
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.
nvd.nist.gov
References
Freshness
Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- CVE.orgNov 8, 2026
- Monitored products — highNov 7, 2026