CVE-2017-12794

NameCVE-2017-12794
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs874415

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)jessie (security), jessie1.7.11-1+deb8u3fixed
stretch1:1.10.7-2+deb9u3fixed
stretch (security)1:1.10.7-2+deb9u2fixed
buster, sid1:1.11.17-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosource(unstable)1:1.11.5-1low874415
python-djangosourcejessie(not affected)
python-djangosourcestretch1:1.10.7-2+deb9u2medium
python-djangosourcewheezy(not affected)

Notes

[jessie] - python-django <not-affected> (Vulnerable code do not exist)
[wheezy] - python-django <not-affected> (Vulnerable code do not exist)
https://www.djangoproject.com/weblog/2017/sep/05/security-releases/

Search for package or bug name: Reporting problems