ADVISORIES

GitHub Advisory Database

GHSA-2655-q453-22f9

Django Allows Arbitrary URL Generation

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 1.3 before 1.3.4 (fixed in 1.3.4)
PyPIdjango
From 1.4 before 1.4.2 (fixed in 1.4.2)

References