Cross-site scriptingin the django package.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade Django (PyPI) to 1.10.8, 1.11.5 or later, whichever matches your release line.
- Upgrade django (PyPI) to 1.10.8, 1.11.5 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Aug 2017CVE ID reserved by mitre.
- 7 Sep 2017Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.djangoproject.com x_refsource_CONFIRM
Patchminder. CVE-2017-12794: Cross-site scripting in the django package. https://patchminder.com/cve/cve-2017-12794/ (accessed 5 December 2026).