CVE-2013-6044 Django cross-site scripting (XSS) vulnerability via is_safe_url function
MediumCVSS 4.3
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django(PyPI) | >= 1.4, < 1.4.6 | 1.4.6 |
| pypi django(PyPI) | = 1.4 | No fix listed |
| pypi django(PyPI) | = 1.4.1 | No fix listed |
| pypi django(PyPI) | = 1.4.2 | No fix listed |
| pypi django(PyPI) | = 1.4.3 | No fix listed |
| pypi django(PyPI) | = 1.4.4 | No fix listed |
| pypi django(PyPI) | = 1.4.5 | No fix listed |
| pypi django(PyPI) | >= 1.5, < 1.5.2 | 1.5.2 |
| pypi django(PyPI) | = 1.5 | No fix listed |
| pypi django(PyPI) | = 1.5.1 | No fix listed |
| pypi django(PyPI) | = 1.5c2 | No fix listed |
| pypi django(PyPI) | = 1.5c1 | No fix listed |
| pypi django(PyPI) | = 1.5b2 | No fix listed |
| pypi django(PyPI) | = 1.5b1 | No fix listed |
| pypi django(PyPI) | = 1.5a1 | No fix listed |
| pypi django(PyPI) | = 1.3 | No fix listed |
| pypi django(PyPI) | = 1.2.1 | No fix listed |
| pypi django(PyPI) | = 1.2 | No fix listed |
| pypi django(PyPI) | = 1.1 | No fix listed |
| pypi django(PyPI) | = 1.0 | No fix listed |
| debian/python-django(Debian:12) | < 1.5.2-1 | 1.5.2-1 |
| debian/python-django(Debian:13) | < 1.5.2-1 | 1.5.2-1 |
| debian/python-django(Debian:14) | < 1.5.2-1 | 1.5.2-1 |
| djangoproject django | = 1.4 | No fix listed |
| djangoproject django | = 1.4.1 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | = 1.4.2 | No fix listed |
| djangoproject django | = 1.4.4 | No fix listed |
| djangoproject django | = 1.4.5 | No fix listed |
| djangoproject django | = 1.5 | No fix listed |
| djangoproject django | = 1.5.1 | No fix listed |
| djangoproject django | = 1.6-beta1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- django-issafeurl-xss(86437) vdb-entry
- github.com product
- github.com
- www.djangoproject.com patch technical-description vendor-advisory
- openSUSE-SU-2013:1541 vendor-advisory
- RHSA-2013:1521 vendor-advisory
- [oss-security] 20130814 [CVE request] Django 1.4.6 security release mailing-list
- [oss-security] 20130819 Re: [CVE request] Django 1.4.6 security release mailing-list
- DSA-2740 vendor-advisory
- 1028915 vdb-entry
- 61777 vdb-entry
- 54476 third-party-advisory vendor-advisory
- github.com vendor-advisory
- Debian Security Tracker CVE-2013-6044 vendor-advisory