{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-12794","id":"CVE-2017-12794","title":"Django vulnerable to XSS on 500 pages","description":"In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with \"DEBUG = True\" (which makes this page accessible) in your production settings.","descriptionLong":"In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with \"DEBUG = True\" (which makes this page accessible) in your production settings.","published":"2017-09-07T13:00:00.000Z","updated":"2026-11-16T10:45:03.823393820Z","reserved":"2017-08-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"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.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/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.10a1 <1.10.8",">=1.11a1 <1.11.5",">=1.10 <1.10.8",">=1.11 <1.11.5"],"fixed":["1.10.8","1.11.5"],"advisory":"GHSA-9r8w-6x8c-6jr9"}],"cwes":["CWE-79"],"aliases":["GHSA-9r8w-6x8c-6jr9","PYSEC-2017-44"],"references":[{"url":"https://usn.ubuntu.com/3559-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/100643","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.securitytracker.com/id/1039264","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12794","tags":["advisory"]},{"url":"https://github.com/django/django/commit/58e08e80e362db79eb0fd775dc81faad90dca47a","tags":["web"]},{"url":"https://github.com/django/django/commit/e35a0c56086924f331e9422daa266e907a4784cc","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9r8w-6x8c-6jr9","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2017-44.yaml","tags":["web"]},{"url":"https://usn.ubuntu.com/3559-1","tags":["web"]},{"url":"https://web.archive.org/web/20170927072701/http://www.securitytracker.com/id/1039264","tags":["web"]},{"url":"https://web.archive.org/web/20200227150819/http://www.securityfocus.com/bid/100643","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2017/sep/05/security-releases","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.23566,"epssPercentile":0.97846,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-12794","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12794","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-12794","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9r8w-6x8c-6jr9","ok":true,"note":"GHSA-9r8w-6x8c-6jr9"},{"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-2017-12794","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}