Live threats

All CVEs / Djangoproject

CVE-2013-6044Djangoproject Django

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Oct 4, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.4 < 1.4.6 1.4.6 pip install "django>=1.4.6"
PyPI django ≥ 1.5 < 1.5.2 1.5.2 pip install "django>=1.5.2"
PyPI django ≥ 1.4 < 1.4.6 1.4.6 pip install "django>=1.4.6"
PyPI django ≥ 1.5 < 1.5.2 1.5.2 pip install "django>=1.5.2"

Per OSV / GitHub Advisories (GHSA-9cwg-mhxf-hh59, PYSEC-2013-21). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.4
djangoprojectdjango1.4.1
djangoprojectdjango1.4.2
djangoprojectdjango1.4.4
djangoprojectdjango1.4.5
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.6

Official sources

References

Links published by the sources. Open them with care.