CVE-2017-12794
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...
- Published
- Sep 7, 2017
- Updated
- Aug 5, 2024
- Assigning CNA
- mitre
Primary CVSS
nvd · CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NModerate · next 30 days
- Percentile
- 97.8%
- Model date
- Nov 7, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
http/cves/2017/CVE-2017-12794.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
django/CVE-2017-12794
Django 500 Debug Page Cross-Site Scripting (XSS) (CVE-2017-12794)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/django:1.11.4(django/CVE-2017-12794/docker-compose.yml:services.web.image)
- lab image version: postgres:9.6-alpine(django/CVE-2017-12794/docker-compose.yml:services.db.image)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.