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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
DLA-143-1 | python-django security update |
![]() |
DSA-3151-1 | python-django security update |
![]() |
EUVD-2015-0014 | 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. |
![]() |
GHSA-gv98-g628-m9x5 | Django Cross-site Scripting Vulnerability |
![]() |
USN-2469-1 | Django vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-06T04:03:10.421Z
Reserved: 2014-11-18T00:00:00
Link: CVE-2015-0220

No data.

Status : Deferred
Published: 2015-01-16T16:59:19.563
Modified: 2025-04-12T10:46:40.837
Link: CVE-2015-0220


No data.