{"schema_version":"1.7.5","id":"CVE-2017-12794","published":"2017-09-07T13:29:00.467Z","modified":"2026-07-15T10:14:43.841730825Z","aliases":["GHSA-9r8w-6x8c-6jr9","PYSEC-2017-44"],"related":["SUSE-SU-2018:0973-1","SUSE-SU-2018:1102-1","openSUSE-SU-2018:0632-1","openSUSE-SU-2023:0077-1","openSUSE-SU-2024:11205-1","openSUSE-SU-2024:13887-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2026:10005-1","openSUSE-SU-2026:11235-1","openSUSE-SU-2026:11248-1","openSUSE-SU-2026:11270-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"bd97496d07466f3a940e2fcc114b540ca01cd340"},{"last_affected":"1a34dfcf797640d5d580d261694cb54e6f97c552"}],"database_specific":{"cpe":["cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.10.1"},{"last_affected":"1.10.1"},{"introduced":"1.10.2"},{"last_affected":"1.10.2"},{"introduced":"1.10.3"},{"last_affected":"1.10.3"},{"introduced":"1.10.4"},{"last_affected":"1.10.4"},{"introduced":"1.10.5"},{"last_affected":"1.10.5"},{"introduced":"1.10.6"},{"last_affected":"1.10.6"},{"introduced":"1.10.7"},{"last_affected":"1.10.7"},{"introduced":"1.11.1"},{"last_affected":"1.11.1"},{"introduced":"1.11.2"},{"last_affected":"1.11.2"},{"introduced":"1.11.3"},{"last_affected":"1.11.3"},{"introduced":"1.11.4"},{"last_affected":"1.11.4"}],"source":"CPE_STRING"}}],"versions":["1.10.1","1.10.2","1.10.3","1.10.4","1.10.5","1.10.6","1.10.7","1.11.1","1.11.2","1.11.3","1.11.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12794.json"}}],"references":[{"type":"WEB","url":"https://usn.ubuntu.com/3559-1/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/100643"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1039264"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.10.0"},{"last_affected":"1.10.0"},{"introduced":"1.11.0"},{"last_affected":"1.11.0"}],"source":"CPE_STRING","vendor_product":"djangoproject:django"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}