{"id":"ALPINE-CVE-2017-12794","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.","modified":"2025-11-19T06:07:58.805314Z","published":"2017-09-07T13:29:00.467Z","upstream":["CVE-2017-12794"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-12794"}],"affected":[{"package":{"name":"py-django","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py3-django","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/py3-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}},{"package":{"name":"py3-django","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/py3-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.5-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12794.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}