CVE-2015-0220: Canonical Ubuntu Linux
Medium severity, CVSS 4.3. EPSS: 3.1% chance of exploitation in the next 30 days.
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.
Affected products
- Canonical Ubuntu Linux: version 10.04 only; version 12.04 only; version 14.04 only; version 14.10 only
- Djangoproject Django: up to and including 1.4.17; version 1.6 only; version 1.6.1 only; version 1.6.2 only; version 1.6.3 only; version 1.6.4 only; …
Published 2015-01-16. Last modified 2026-06-17.