ADVISORIES

Vulnerability

CVE-2015-0220

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.

7 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 3PyPI 2Ubuntu 2

Advisories in Debian

  • DEBIAN-CVE-2015-0220

    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…

    CVE-2015-0220 Debian Updated 9 September 2026
  • DLA-143-1

    python-django - security update

    CVE-2015-0219CVE-2015-0220CVE-2015-0221 Debian Updated 20 November 2026
  • DSA-3151-1

    python-django - security update

    CVE-2015-0219CVE-2015-0220CVE-2015-0221 Debian Updated 20 November 2026

References