CVE-2019-12308
python-django - security update
6.1
MEDIUM
CVSS 3.1
EPSS 2.8%
Description
An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.
How to fix CVE-2019-12308
To remediate CVE-2019-12308, upgrade the affected package to a fixed version below.
- —upgrade to 1.11.21-r0 or later
- —upgrade to 1.11.21-r0 or later
- —upgrade to 1:1.10.7-2+deb9u5 or later
- —upgrade to 1.7.11-1+deb8u5 or later
- —upgrade to 1:1.11.21-1 or later
- —upgrade to 1.11.21 or later
- —upgrade to 2.1.9 or later
Is CVE-2019-12308 being exploited?
Low — EPSS is 2.8%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 1.11.21-r0
- from 0, < 1.11.21-r0
- from 0, < 1:1.10.7-2+deb9u5
- from 0, < 1.7.11-1+deb8u5
- from 0, < 1:1.11.21-1
- >= 1.11a1, < 1.11.21
- >= 2.1, < 2.1.9, >= 1.11, < 1.11.21, >= 2.2, < 2.2.2
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 |