CVE-2015-0220
Medium
Description
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.
SeverityMedium
CVSS4.3
Exploit probability—
Product
Django
PublishedJan 16, 2015
First seenJan 16, 2015
How to fix
Update
- django1.4.18, 1.6.10, 1.7.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | v ≤ 1.4.17, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7, 1.7.1, 1.7.2 | — |
| canonical ubuntu_linux | 10.04, 12.04, 14.04, 14.10 | — |
| djangoPyPI | v < 1.4.18, 1.6 ≤ v < 1.6.10, 1.7 ≤ v < 1.7.3, 1.5 ≤ v < 1.6.10 | 1.4.18, 1.6.10, 1.7.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.