ADVISORIES

Vulnerability

CVE-2013-6044

The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting (XSS) or other vulnerabilities into Django applications that use this function, as demonstrated by "the login view in django.contrib.auth.views" and the javascript: scheme.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2PyPI 2Red Hat 1

Advisories

  • DEBIAN-CVE-2013-6044

    The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting…

    CVE-2013-6044 Debian Updated 1 September 2026
  • DSA-2740-1

    python-django - cross-site scripting vulnerability

    CVE-2013-6044 Debian Updated 20 November 2026
  • GHSA-9cwg-mhxf-hh59

    Django cross-site scripting (XSS) vulnerability via is_safe_url function

    Moderate CVE-2013-6044 PyPI Updated 19 February 2025
  • PYSEC-2013-21

    The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting…

    CVE-2013-6044 PyPI Updated 10 June 2026
  • RHSA-2013:1521

    Red Hat Security Advisory: python-django security update

    CVE-2013-4315CVE-2013-6044 Red Hat Updated 14 January 2026

References