ADVISORIES

Vulnerability

CVE-2015-2317

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

9 advisories report this vulnerability, across 4 ecosystems.

Medium severity All Debian 3PyPI 2SUSE 2Ubuntu 2

Advisories

  • DEBIAN-CVE-2015-2317

    The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site…

    CVE-2015-2317 Debian Updated 9 September 2026
  • DLA-272-1

    python-django - security update

    CVE-2015-2317CVE-2015-5143CVE-2015-5144 Debian Updated 20 November 2026
  • DSA-3204-1

    python-django - security update

    CVE-2015-2317 Debian Updated 20 November 2026
  • GHSA-7fq8-4pv5-5w5c

    Django cross-site scripting (XSS) attack via user-supplied redirect URLs

    Moderate CVE-2015-2317 PyPI Updated 18 September 2024
  • PYSEC-2015-9

    The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site…

    CVE-2015-2317 PyPI Updated 10 June 2026
  • SUSE-SU-2015:1109-1

    Security update for python-Django

    CVE-2015-0219CVE-2015-0221CVE-2015-0222CVE-2015-2316 SUSE Updated 4 February 2026
  • SUSE-SU-2015:1112-1

    Security update for python-Django

    CVE-2015-0219CVE-2015-0221CVE-2015-0222CVE-2015-2316 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2015-2317

    The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site…

    CVE-2015-2317 Ubuntu Updated 4 February 2026
  • USN-2539-1

    python-django vulnerabilities

    CVE-2015-2316CVE-2015-2317 Ubuntu Updated 10 February 2026

References