patchminder
Weaponized · Nuclei CVE-2017-12794

Cross-site scriptingin the django package.

Published 7 Sep 2017 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 23.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.10.8, 1.11.5
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
Django (PyPI)
1.10a1 to before 1.10.8
1.10.8
GitHub advisory
Django (PyPI)
1.11a1 to before 1.11.5
1.11.5
GitHub advisory
django (PyPI)
1.10 to before 1.10.8
1.10.8
GitHub advisory
django (PyPI)
1.11 to before 1.11.5
1.11.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 10 Aug 2017
    CVE ID reserved by mitre.
  2. 7 Sep 2017
    Published in the CVE List.
  3. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei).

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2017-12794: Cross-site scripting in the django package. https://patchminder.com/cve/cve-2017-12794/ (accessed 5 December 2026).