XSS in Djangoproject Django
CVE-2015-0220
The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a "\njavascript:" URL.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django — versions 1.6, 1.6.1, 1.6.2
- Canonical Ubuntu Linux — versions 10.04, 12.04, 14.04
Weakness classification (CWE)
References
- secunia.com/advisories/62718 (third-party-advisory)
- FEDORA-2015-0804 (vendor-advisory)
- USN-2469-1 (vendor-advisory)
- MDVSA-2015:036 (vendor-advisory)
- secunia.com/advisories/62285 (third-party-advisory)
- openSUSE-SU-2015:1598 (vendor-advisory)
- www.djangoproject.com/weblog/2015/jan/13/security/ (Exploit, Vendor Advisory)
- openSUSE-SU-2015:0643 (vendor-advisory)
- secunia.com/advisories/62309 (third-party-advisory)
- MDVSA-2015:109 (vendor-advisory)