CVE-2019-12308

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductDjango
PublishedJun 3, 2019
First seenJun 3, 2019

How to fix

Affected products

ProductAffected versionsFixed in
djangoproject django1.11 ≤ v < 1.11.21, 2.1 ≤ v < 2.1.9, 2.2 ≤ v < 2.2.21.11.21, 2.1.9, 2.2.2
djangoPyPI1.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.21.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.