{"cve":"CVE-2017-12794","nvd":{"published":"2017-09-07T13:29:00.467","modified":"2026-06-17T01:03:56.813","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["http://www.securityfocus.com/bid/100643","http://www.securitytracker.com/id/1039264","https://usn.ubuntu.com/3559-1/","https://www.djangoproject.com/weblog/2017/sep/05/security-releases/","http://www.securityfocus.com/bid/100643"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:46:01.145313090+00:00"},"epss":{"cve":"CVE-2017-12794","score":0.23566,"percentile":0.97803,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9r8w-6x8c-6jr9","url":"https://osv.dev/vulnerability/GHSA-9r8w-6x8c-6jr9","summary":"Django vulnerable to XSS on 500 pages","modified":"2024-09-18T16:07:48.238600Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.10a1 <1.10.8"],"fixed":["1.10.8"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.11a1 <1.11.5"],"fixed":["1.11.5"]}]},{"id":"PYSEC-2017-44","url":"https://osv.dev/vulnerability/PYSEC-2017-44","summary":"","modified":"2023-11-08T03:58:54.215558Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.10 <1.10.8",">=1.11 <1.11.5"],"fixed":["1.10.8","1.11.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}