{"schemaVersion":3,"id":"CVE-2013-6044","aliases":["GHSA-9cwg-mhxf-hh59","PYSEC-2013-21","DEBIAN-CVE-2013-6044","DSA-2740-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-10-04T17:00:00.000Z","modified":"2024-08-06T17:29:43.070Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true}]},"epss":{"probability":0.02316,"percentile":0.83173,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02316},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02316,"percentile":0.83173}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02316,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02316,"percentile":0.83173}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 1.5.2-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.3-3+squeeze6","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.5-1+deb7u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2-1 | < 1.2.3-3+squeeze6 | < 1.4.5-1+deb7u1","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.4","noFixRecorded":false,"fixedIn":null},{"text":"1.4.1","noFixRecorded":false,"fixedIn":null},{"text":"1.4.2","noFixRecorded":false,"fixedIn":null},{"text":"1.4.4","noFixRecorded":false,"fixedIn":null},{"text":"1.4.5","noFixRecorded":false,"fixedIn":null},{"text":"1.5","noFixRecorded":false,"fixedIn":null},{"text":"1.5.1","noFixRecorded":false,"fixedIn":null},{"text":"1.6:beta1","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.4 | 1.4.1 | 1.4.2 | 1.4.4 | 1.4.5 | 1.5 | 1.5.1 | 1.6:beta1","eol":{"isEol":true,"eolDate":"2015-10-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.4","label":"1.4","eolFrom":"2015-10-01T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.4.22"},"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 1.4, < 1.4.6","noFixRecorded":false,"fixedIn":null},{"text":"< 1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.5, < 1.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.4, < 1.4.6 | < 1a274ccd6bc1afbdac80344c9b6e5810c1162b5f | ≥ 1.5, < 1.5.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/61777","label":"www.securityfocus.com/bid/61777","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","WEB"]},{"url":"http://www.securitytracker.com/id/1028915","label":"www.securitytracker.com/id/1028915","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","label":"lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","label":"github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","FIX"]},{"url":"http://secunia.com/advisories/54476","label":"secunia.com/advisories/54476","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory","Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","label":"rhn.redhat.com/errata/RHSA-2013-1521.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB","Advisory"]},{"url":"http://seclists.org/oss-sec/2013/q3/369","label":"seclists.org/oss-sec/2013/q3/369","hostname":"seclists.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","label":"www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","hostname":"www.djangoproject.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB","ARTICLE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86437","label":"exchange.xforce.ibmcloud.com/vulnerabilities/86437","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","WEB"]},{"url":"https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","label":"github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","FIX"]},{"url":"https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","label":"github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","FIX"]},{"url":"http://seclists.org/oss-sec/2013/q3/411","label":"seclists.org/oss-sec/2013/q3/411","hostname":"seclists.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://www.debian.org/security/2013/dsa-2740","label":"www.debian.org/security/2013/dsa-2740","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6044","label":"nvd.nist.gov/vuln/detail/CVE-2013-6044","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-9cwg-mhxf-hh59","label":"github.com/advisories/GHSA-9cwg-mhxf-hh59","hostname":"github.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-6044","label":"security-tracker.debian.org/tracker/CVE-2013-6044","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2013:1521"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-10-04T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T17:29:43.070Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:43:13.047Z","stale":false,"partial":false}}