CVE-2019-12308
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
- djangoproject django1.11.21, 2.1.9, 2.2.2 or later
- django1.11.21, 2.1.9, 2.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 1.11 ≤ v < 1.11.21, 2.1 ≤ v < 2.1.9, 2.2 ≤ v < 2.2.2 | 1.11.21, 2.1.9, 2.2.2 |
| djangoPyPI | 1.11a1 ≤ v < 1.11.21, 2.1a1 ≤ v < 2.1.9, 2.2a1 ≤ v < 2.2.2, 2.1 ≤ v < 2.1.9, 1.11 ≤ v < 1.11.21, 2.2 ≤ v < 2.2.2 | 1.11.21, 2.1.9, 2.2.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.