VDB
Sign up
—

PYSEC-2015-9

Quick fix

PYSEC-2015-9 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.4.20'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 1.4.20
Fixpip install --upgrade 'django>=1.4.20'

References