Vulnerabilities · 2015 · Canonical
CVE-2015-0220
Canonical Ubuntu Linux vulnerability
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
Ubuntu Linux, Django. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Canonical Ubuntu Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.djangoproject.com/weblog/2015/jan/13/security/ · Exploit
- advisories.mageia.org/MGASA-2015-0026.html
- lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html
- lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html
- lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- secunia.com/advisories/62285
- secunia.com/advisories/62309
- nvd.nist.gov/vuln/detail/CVE-2015-0220
- cve.org/CVERecord?id=CVE-2015-0220
More vulnerabilities in Canonical products
CVE-2025-54293CVE-2025-54292CVE-2025-54291CVE-2025-54290CVE-2025-54289CVE-2025-54288CVE-2025-54286CVE-2025-53513All 4,095
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.