6.4

CVE-2012-4520: djangoproject django Improper Input Validation

Modified
AliasesGHSA-2655-q453-22f9PYSEC-2012-7DEBIAN-CVE-2012-4520
Published 18-11-2012Last modified 06-08-2024

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.

Priority
Prioritisesevere

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?
CVSS score
6.4/10
010
Medium · v2.0 (NVD)
EPSS score
3.74%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 18-11-2012
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last 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 versions

EPSS 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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Show all 32 references