{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2013-6044","id":"CVE-2013-6044","title":"Django cross-site scripting (XSS) vulnerability via is_safe_url function ","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.","descriptionLong":"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.","published":"2013-10-04T17:00:00.000Z","updated":"2026-06-16T23:59:56.670Z","reserved":"2013-10-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.4 <1.4.6",">=1.5 <1.5.2"],"fixed":["1.4.6","1.5.2"],"advisory":"GHSA-9cwg-mhxf-hh59"}],"cwes":["CWE-79"],"aliases":["GHSA-9cwg-mhxf-hh59","PYSEC-2013-21"],"references":[{"url":"http://www.securityfocus.com/bid/61777","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1028915","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://secunia.com/advisories/54476","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://seclists.org/oss-sec/2013/q3/369","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix","web","article"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86437","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://seclists.org/oss-sec/2013/q3/411","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.debian.org/security/2013/dsa-2740","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6044","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9cwg-mhxf-hh59","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02307,"epssPercentile":0.83774,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2013-6044","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6044","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2013-6044","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9cwg-mhxf-hh59","ok":true,"note":"GHSA-9cwg-mhxf-hh59"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2013-6044","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}