django
Affected
- introduced
0, fixed1.4.18(ecosystem)
Fixed versions
1.4.18
Fix
- Fixed version
1.4.18pip install --upgrade django==1.4.18
Advisory
Also known as: CVE-2015-0220, PYSEC-2015-5
Django Cross-site Scripting 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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.4.18 (ecosystem)1.4.18
1.4.18pip install --upgrade django==1.4.181.6, fixed 1.6.10 (ecosystem)1.6.10
1.6.10pip install --upgrade django==1.6.101.7, fixed 1.7.3 (ecosystem)1.7.3
1.7.3pip install --upgrade django==1.7.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0