Feed
6.1MEDIUM
CVE-2017-12794Django vulnerable to XSS on 500 pages
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 23.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 23.6%
- percentile 98%
- Fix
- Named by a source
- CVE published 7 Sept 2017 (approx.)
Reference
None of the "Needs attention" rules apply right now.
EPSS 23.6% (+24) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.10.8 / 1.11.5 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/58e08e80e362db79eb0fd775dc81faad90dca47a
- Commit / pull request: https://github.com/django/django/commit/e35a0c56086924f331e9422daa266e907a4784cc
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 1.10a1, < 1.10.8Fixed in1.10.8OSV (GHSA-9r8w-6x8c-6jr9)
- Affected>= 1.11a1, < 1.11.5Fixed in1.11.5OSV (GHSA-9r8w-6x8c-6jr9)
- Affected>= 1.10, < 1.10.8Fixed in1.10.8OSV (PYSEC-2017-44)
- Affected>= 1.11, < 1.11.5Fixed in1.11.5OSV (PYSEC-2017-44)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-9r8w-6x8c-6jr9)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 31 Mar 2025Exploitation more likely 4.3% → 16.6%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2017-12794
- commit / pull requesthttps://github.com/django/django/commit/58e08e80e362db79eb0fd775dc81faad90dca47a
- commit / pull requesthttps://github.com/django/django/commit/e35a0c56086924f331e9422daa266e907a4784cc
- advisoryhttps://github.com/advisories/GHSA-9r8w-6x8c-6jr9
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2017-44.yaml
- otherhttps://usn.ubuntu.com/3559-1
- otherhttps://web.archive.org/web/20170927072701/http://www.securitytracker.com/id/1039264
- otherhttps://web.archive.org/web/20200227150819/http://www.securityfocus.com/bid/100643
- otherhttps://www.djangoproject.com/weblog/2017/sep/05/security-releases
- otherhttps://www.djangoproject.com/weblog/2017/sep/05/security-releases/
- otherhttp://www.securitytracker.com/id/1039264
- otherhttp://www.securityfocus.com/bid/100643
- otherhttps://usn.ubuntu.com/3559-1/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-9r8w-6x8c-6jr9 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2017-44 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 31 min ago · osv 30 min ago · nvd 30 min ago · epss 30 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-9r8w-6x8c-6jr9, PYSEC-2017-44