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

  • 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
  • GHSA-gv98-g628-m9x5

    Django Cross-site Scripting Vulnerability

    Moderate CVE-2015-0220 PyPI Updated 19 February 2025
  • PYSEC-2015-5

    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 PyPI Updated 10 June 2026
  • UBUNTU-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 Ubuntu Updated 4 February 2026
  • USN-2469-1

    python-django vulnerabilities

    CVE-2015-0219CVE-2015-0220CVE-2015-0221CVE-2015-0222 Ubuntu Updated 10 February 2026

References