ADVISORIES

PyPA Advisory Database

PYSEC-2016-15

Details

The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.8.10 (fixed in 1.8.10)
From 1.9 before 1.9.3 (fixed in 1.9.3)

References