Skip to content
Fencer Intel
medium 6.1

CVE-2017-12794 json

Django vulnerable to XSS on 500 pages

published 9y ago modified 4mo ago also GHSA-9r8w-6x8c-6jr9 , PYSEC-2017-44 , EUVD-2017-0025

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
23.6%
EPSS 23.6% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • pypi django 1.10.8, 1.11.5
  • python-django Debian 14, Debian 13, Debian 12 1:1.11.5-1

debian advisories DEBIAN-CVE-2017-12794

  • python-Django OpenStack Cloud 6 1.8.19-3.6.1
  • python-Django OpenStack Cloud 7 1.8.19-3.4.1

suse advisories SUSE-SU-2018:1102-1SUSE-SU-2018:0973-1

  • python-Django5 openSUSE Tumbleweed 5.2.16-1.1
  • python-Django openSUSE Tumbleweed 5.2.16-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.30-4.1
  • python-Django6 openSUSE Tumbleweed 6.0-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.14-1.1
  • python-Django openSUSE Tumbleweed 3.2.7-2.3
  • python-Django openSUSE Tumbleweed 4.2.11-2.1
  • python-Django Package Hub 12 SP1 1.11.15-2.1

opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:11205-1

  • py-django Alpine 3.10, Alpine 3.9, Alpine 3.8 +1 more 1.11.5-r0
  • py-django Alpine 3.6 1.11.11-r0
  • py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.11.5-r0

alpine advisories ALPINE-CVE-2017-12794

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2017-12794 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12794 updated cvss 4.0

python-django: Possible XSS in traceback section of technical 500 debug page

  • Red Hat Ceph Storage 1.3 Django Red Hat Ceph Storage 2 python-django, python-django-bash-completion Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) python-django, python-django-bash-completion Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools python-django, python-django-bash-completion
    +11 more products
    Red Hat OpenStack Platform 8 (Liberty) python-django, python-django-bash-completion Red Hat OpenStack Platform 8 (Liberty) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 11 (Ocata) python-django Red Hat OpenStack Platform 12 (Pike) python-django, python-django-bash-completion Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion Red Hat Storage Console 2 Django, python-django Red Hat Subscription Asset Manager Django
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

23.57% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi django
>=1.10a1, <1.10.8
>=1.11a1, <1.11.5
>=1.10, <1.10.8
>=1.11, <1.11.5
1.10.8
1.11.5

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.