{"id":"CVE-2013-6044","published":"2013-10-04T17:00:00Z","modified":"2024-08-06T17:29:43Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02307,"percentile":0.83774,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/61777","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id/1028915","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/54476","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://seclists.org/oss-sec/2013/q3/369","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86437","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/oss-sec/2013/q3/411","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2013/dsa-2740","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":16.75}]},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=1.4, <1.4.6",">=1.5, <1.5.2"],"patched":["1.4.6","1.5.2"],"from":["GHSA-9cwg-mhxf-hh59","PYSEC-2013-21"],"provenance":"source"}],"summary":{"text":"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 URLs with schemes other than HTTP or HTTPS as safe. An attacker could exploit this to introduce cross-site scripting or other vulnerabilities in applications that use the function, as demonstrated with the login view in django.contrib.auth.views and the javascript: scheme.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:07Z"},"euvd":{"id":"EUVD-2013-0009","exploited":false,"provenance":"source"}}