Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has HTML autoescaping disabled in a portion of the template for the technical 500 debug page. We detected that right circumstances (DEBUG=True) are present to allow a cross-site scripting attack.
View the template here CVE-2017-12794.yaml
References:
https://twitter.com/sec715/status/1406779605055270914