VYPR
High severityNVD Advisory· Published Nov 18, 2012· Updated Jun 16, 2026

CVE-2012-4520

CVE-2012-4520

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
DjangoPyPI
>= 1.3, < 1.3.41.3.4
DjangoPyPI
>= 1.4, < 1.4.21.4.2

Affected products

9
  • cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*+ 7 more
    • cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*
    • cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*
  • ghsa-coords
    Range: >= 1.3, < 1.3.4

Patches

Vulnerability mechanics

References

30

News mentions

0

No linked articles in our index yet.