Every CVE Search/ Get API key

CVE-2013-6044

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

4.3 MediumFix available

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

2.31%Down 0.4 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
django
PyPI
1.4 up to 1.4.6
1.4.6
django
PyPI
1.5 up to 1.5.2
1.5.2
python-django
Debian:12
before 1.5.2-1
1.5.2-1
python-django
Debian:13
before 1.5.2-1
1.5.2-1
python-django
Debian:14
before 1.5.2-1
1.5.2-1
python-django
Debian: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-django
Debian:7
before 1.4.5-1+deb7u1, plus listed versions
1.4.5-1
1.4.5-1+deb7u1
django
PyPI
1.4 up to 1.4.6, plus listed versions
1.4.11.4.21.4.31.4.41.4.5
1.4.6
django
PyPI
1.5 up to 1.5.2, plus listed versions
1.5.1
1.5.2
django
PyPI
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 less
1.5.11.5c21.5c11.5b21.5b11.5a11.31.2.11.21.11.0
1.4.61.5.2
Django14
Red Hat:openstack:3::el6
From an advisory covering 2 CVEs
before 0:1.4.8-1.el6ost
0:1.4.8-1.el6ost
Django14-doc
Red Hat:openstack:3::el6
From an advisory covering 2 CVEs
before 0:1.4.8-1.el6ost
0:1.4.8-1.el6ost

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 23 moreShow less
MoveEnter Open