CVE-2013-6044Djangoproject Django
Medium 4.3 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | 1.4 |
| djangoproject | django | 1.4.1 |
| djangoproject | django | 1.4.2 |
| djangoproject | django | 1.4.4 |
| djangoproject | django | 1.4.5 |
| djangoproject | django | 1.5 |
| djangoproject | django | 1.5.1 |
| djangoproject | django | 1.6 |
Official sources
References
Links published by the sources. Open them with care.