CVE-2013-6044
Django cross-site scripting (XSS) vulnerability via is_safe_url function
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2013-6044- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-6044- Updated
- 2026-11-02
EUVDEUVD-2013-0009 No score
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.
- Record
EUVD-2013-0009- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9cwg-mhxf-hh59
5.3
Django cross-site scripting (XSS) vulnerability via is_safe_url function
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.
- Record
GHSA-9cwg-mhxf-hh59- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-9cwg-mhxf-hh59
5.3
Django cross-site scripting (XSS) vulnerability via is_safe_url function
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.
- Record
GHSA-9cwg-mhxf-hh59- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2013-6044- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-6044 No score
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.
- Record
DEBIAN-CVE-2013-6044- Updated
- 2026-11-02
OSVPYSEC-2013-21 No score
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.
- Record
PYSEC-2013-21- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djangoPyPI |
1.4 up to 1.4.6 | 1.4.6 |
djangoPyPI |
1.5 up to 1.5.2 | 1.5.2 |
python-djangoDebian:12 |
before 1.5.2-1 | 1.5.2-1 |
python-djangoDebian:13 |
before 1.5.2-1 | 1.5.2-1 |
python-djangoDebian:14 |
before 1.5.2-1 | 1.5.2-1 |
python-djangoDebian:6.0 |
before 1.2.3-3+squeeze6, plus listed versions 1.2.3-31.2.3-3+squeeze11.2.3-3+squeeze21.2.3-3+squeeze31.2.3-3+squeeze5 |
1.2.3-3+squeeze6 |
python-djangoDebian:7 |
before 1.4.5-1+deb7u1, plus listed versions 1.4.5-1 |
1.4.5-1+deb7u1 |
djangoPyPI |
1.4 up to 1.4.6, plus listed versions 1.4.11.4.21.4.31.4.41.4.5 |
1.4.6 |
djangoPyPI |
1.5 up to 1.5.2, plus listed versions 1.5.1 |
1.5.2 |
djangoPyPI |
1.4 up to 1.4.6, 1.5 up to 1.5.2, plus listed versions 1.4.11.4.21.4.31.4.41.4.5 Show 11 moreShow less1.5.11.5c21.5c11.5b21.5b11.5a11.31.2.11.21.11.0 |
1.4.61.5.2 |
Django14Red Hat:openstack:3::el6 From an advisory covering 2 CVEs |
before 0:1.4.8-1.el6ost | 0:1.4.8-1.el6ost |
Django14-docRed Hat:openstack:3::el6 From an advisory covering 2 CVEs |
before 0:1.4.8-1.el6ost | 0:1.4.8-1.el6ost |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-6044 is a medium vulnerability (CVSS 4.3) in Djangoproject Django, published August 23, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.31%, the 83rd percentile. Fixed in django 1.4.6.
References
securityfocus.com/bid/61777
securitytracker.com/id/1028915
lists.opensuse.org/opensuse-updates/2013-10/msg00015.html
github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
secunia.com/advisories/54476
rhn.redhat.com/errata/RHSA-2013-1521.html
Show 23 moreShow less
seclists.org/oss-sec/2013/q3/369
djangoproject.com/weblog/2013/aug/13/security-releases-issued
exchange.xforce.ibmcloud.com/vulnerabilities/86437
github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
seclists.org/oss-sec/2013/q3/411
debian.org/security/2013/dsa-2740
nvd.nist.gov/vuln/detail/CVE-2013-6044
github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml
github.com/advisories/GHSA-9cwg-mhxf-hh59
security-tracker.debian.org/tracker/CVE-2013-6044
github.com/django/django
access.redhat.com/errata/RHSA-2013:1521
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1004969
bugzilla.redhat.com/show_bug.cgi?id=1016394
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1521.json
access.redhat.com/security/cve/CVE-2013-4315
cve.org/CVERecord?id=CVE-2013-4315
nvd.nist.gov/vuln/detail/CVE-2013-4315
djangoproject.com/weblog/2013/sep/10/security-releases-issued
access.redhat.com/security/cve/CVE-2013-6044
cve.org/CVERecord?id=CVE-2013-6044