NetSight
medium6.1

CVE-2015-2317

Django cross-site scripting (XSS) attack via user-supplied redirect URLs

Impact

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

Affected packages

EcosystemPackageAffectedFixed in
pipDjango< 1.4.201.4.20

Affected products

VendorProductAffected versions
DebianDebian Linux
Version 7.0
FedoraprojectFedora
Version 22
OpensuseOpensuse
Version 13.2
DjangoprojectDjango
through 1.4.19
Versions 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
OracleSolaris
Version 11.2
CanonicalUbuntu Linux
Versions 10.04, 12.04, 14.04, 14.10

Weakness classification

References