CVE-2015-2317

Django: possible XSS attack via user-supplied redirect URLs

Published Mar 25, 2015 CVSS 2.0 · 4.3 Medium EPSS 5.0% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-272-1 python-django security update
Debian DSA Debian DSA DSA-3204-1 python-django security update
EUVD EUVD EUVD-2015-0018 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.
Github GHSA Github GHSA GHSA-7fq8-4pv5-5w5c Django cross-site scripting (XSS) attack via user-supplied redirect URLs
Ubuntu USN Ubuntu USN USN-2539-1 Django vulnerabilities
History

No history.