XSS in Djangoproject Django
CVE-2013-6044
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.023, 83.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django — versions 1.4, 1.4.1, 1.4.2
Weakness classification (CWE)
References
- www.securityfocus.com/bid/61777 (vdb-entry)
- www.securitytracker.com/id/1028915 (vdb-entry)
- openSUSE-SU-2013:1541 (vendor-advisory)
- github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
- secunia.com/advisories/54476 (third-party-advisory, Vendor Advisory)
- RHSA-2013:1521 (vendor-advisory)
- [oss-security] 20130814 [CVE request] Django 1.4.6 security release (mailing-list)
- www.djangoproject.com/weblog/2013/aug/13/security-releases-issued (Patch, Vendor Advisory)
- django-issafeurl-xss(86437) (vdb-entry)
- github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762