PT-2015-4527 · Django Software Foundation+1 · Django+1
Mikko Ohtamaa
·
Published
2015-01-13
·
Updated
2022-05-17
·
CVE-2015-0220
CVSS v4.0
5.3
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Django versions 1.4.0 through 1.4.17
Django versions 1.6.0 through 1.6.9
Django versions 1.7.0 through 1.7.2
Description
The issue allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs. This is demonstrated by a
javascript: URL, which takes advantage of the improper handling of leading whitespaces by the django.util.http.is safe url function.Recommendations
For Django versions 1.4.0 through 1.4.17, update to version 1.4.18 or later.
For Django versions 1.6.0 through 1.6.9, update to version 1.6.10 or later.
For Django versions 1.7.0 through 1.7.2, update to version 1.7.3 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Django
Ubuntu