CVE-2015-2317: XSS
The utils.http.issafeurl 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-2317?
CVE-2015-2317 has been rated as high severity due to its potential for cross-site scripting (XSS) attacks.
How do I fix CVE-2015-2317?
To fix CVE-2015-2317, upgrade Django to version 1.4.20 or higher, 1.5.11 or higher, 1.6.11 or higher, 1.7.7 or higher, or 1.8c1.
Which versions of Django are affected by CVE-2015-2317?
Django versions prior to 1.4.20, 1.5.x before 1.5.11, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 are affected by CVE-2015-2317.
What is the impact of CVE-2015-2317?
CVE-2015-2317 allows attackers to perform cross-site scripting (XSS) attacks by submitting a specially crafted URL.
Is there a workaround for CVE-2015-2317?
While upgrading is the best solution for CVE-2015-2317, a temporary workaround includes validating user inputs to prevent special characters from being processed.