CVE-2017-12794
Django vulnerable to XSS on 500 pages
6.1
MEDIUM
CVSS 3.1
EPSS 9.7%
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.
How to fix CVE-2017-12794
To remediate CVE-2017-12794, upgrade the affected package to a fixed version below.
- —upgrade to 1.11.5-r0 or later
- —upgrade to 1.11.5-r0 or later
- —upgrade to 1:1.11.5-1 or later
- —upgrade to 1.10.8 or later
- —upgrade to 1.10.8 or later
Is CVE-2017-12794 being exploited?
Moderate — EPSS is 9.7%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (5)
- from 0, < 1.11.5-r0
- from 0, < 1.11.5-r0
- from 0, < 1:1.11.5-1
- >= 1.10a1, < 1.10.8
- >= 1.10, < 1.10.8, >= 1.11, < 1.11.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |