{"id":"CVE-2013-6044","sourceIdentifier":"cve@mitre.org","published":"2013-10-04T17:55:10.040","lastModified":"2026-06-16T23:59:56.670","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función is_safe_url en utils/http.py de Django 1.4.x anterior a la versión 1.4.6, 1.5.x anterior a la versión 1.5.2, y 1.6 anterior a beta 2 trata un esquema de URL como seguro incluso si no es HTTP o HTTPS, lo que podría permitir XSS u otras vulnerabilidades en aplicaciones Django que usen esta función, como se ha demostrado con \"la vista de inicio de sesión en django.contrib.auth.views\" y el javascript: scheme."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*","matchCriteriaId":"9A79FF7F-8F92-4FEB-96CC-6B15D0CE920D"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"13EF02D4-406C-4146-9B8F-FAC906E7B6E5"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:*","matchCriteriaId":"DC462CE5-1BE0-41E0-A28D-291350F021AA"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:*","matchCriteriaId":"4166ADA9-D5B4-47D6-BD93-C98841108275"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:*","matchCriteriaId":"080D43D0-C0FF-4F89-910C-D466943816C6"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*","matchCriteriaId":"CCDB4B76-6541-4405-B74C-3EEAF84A04E1"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*","matchCriteriaId":"4E2A29CC-A92B-4EC1-8225-408A5048C033"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*","matchCriteriaId":"A83451BD-1D67-4A7F-A62C-F597E51FCC21"}]}]}],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","source":"cve@mitre.org"},{"url":"http://seclists.org/oss-sec/2013/q3/369","source":"cve@mitre.org"},{"url":"http://seclists.org/oss-sec/2013/q3/411","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/54476","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2013/dsa-2740","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/61777","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1028915","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86437","source":"cve@mitre.org"},{"url":"https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","source":"cve@mitre.org"},{"url":"https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","source":"cve@mitre.org"},{"url":"https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","source":"cve@mitre.org"},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/oss-sec/2013/q3/369","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/oss-sec/2013/q3/411","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/54476","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2013/dsa-2740","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/61777","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1028915","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86437","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]}]}