CVEfocus › CVE database › CVE-2017-12794

CVE-2017-12794

CVSS 6.1 MediumEPSS 23.6% (higher than 98% of CVEs)Published 2017-09-07Updated 2024-08-05Assigner: mitre

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

Likely to be exploited: EPSS gives a 24% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04python-djangoNot affected
vulnerable_code_not_present
Debian 14python-djangoFixed1:1.11.5-1DEBIAN-CVE-2017-12794
Debian 13python-djangoFixed1:1.11.5-1DEBIAN-CVE-2017-12794
Debian 12python-djangoFixed1:1.11.5-1DEBIAN-CVE-2017-12794
Alpine Linux 3.24py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.23py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.22py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.21py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.20py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.19py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.18py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.17py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.16py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.15py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.14py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.13py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.12py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.11py3-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.10py-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.9py-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.8py-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.7py-djangoFixed1.11.5-r0ALPINE-CVE-2017-12794
Alpine Linux 3.6py-djangoFixed1.11.11-r0ALPINE-CVE-2017-12794
PyPI librarydjangoFixed1.11.5GHSA-9r8w-6x8c-6jr9

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.