All reports
Medium

Django Cross-site Scripting in AdminURLFieldWidget

Affected versions

Version ranges need review.

Affected versions
>= 1.11a1, < 1.11.21
Fixed version
1.11.21
Affected versions
>= 2.2a1, < 2.2.2
Fixed version
2.2.2
Affected versions
>=2.1 <2.1.9 || >=1.11 <1.11.21 || >=2.2 <2.2.2 || =1.11 || =1.11.1 || =1.11.2 || =1.11.3 || =1.11.4 || =1.11.5 || =1.11.6 || =1.11.7 || =1.11.8 || =1.11.9 || =1.11.10 || =1.11.11 || =1.11.12 || =1.11.13 || =1.11.14 || =1.11.15 || =1.11.16 || =1.11.17 || =1.11.18 || =1.11.20 || =2.1 || =2.1.1 || =2.1.2 || =2.1.3 || =2.1.4 || =2.1.5 || =2.1.7 || =2.1.8 || =2.2 || =2.2.1
Fixed version
1.11.21 · 2.1.9 · 2.2.2
Affected versions
>= 2.1a1, < 2.1.9
Fixed version
2.1.9
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-12308

Probability of exploitation in the next 30 days: 2.40%

FIRST EPSS · 2026-11-24

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.

Links

Credits

  • sunSUNQ