VDB

CVE-2017-12794

CVE-2017-12794 PUBLISHED CVSS 6.099999904632568 MEDIUM

Django vulnerable to XSS on 500 pages

Reported by mitre · Published September 7, 2017

Django is fixed in 1.11.5 and 1.10.8 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPI1.11.5, 1.10.8
py-djangoAlpine1.11.11-r0, 1.11.5-r0
py3-djangoAlpine1.11.5-r0

Risk scores

CVSS 3.0
6.099999904632568
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
n/an/an/a
alpinepy-django0, 0
PyPIDjango1.10a1, 1.11a1
alpinepy3-django0
n/an/a*

Timeline

  • Sep 7, 2017 CVE Published
  • Dec 13, 2019 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Oct 3, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-12794
vulnetix vdb fixes CVE-2017-12794

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12794/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›