django
Affected
- introduced
1.11a1, fixed1.11.21(ecosystem)
Fixed versions
1.11.21
Fix
- Fixed version
1.11.21pip install --upgrade django==1.11.21
Advisory
Also known as: CVE-2019-12308, PYSEC-2019-79
Django Cross-site Scripting in AdminURLFieldWidget
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.
Medium Basis: The source's own band: MODERATE
1.11a1, fixed 1.11.21 (ecosystem)1.11.21
1.11.21pip install --upgrade django==1.11.212.1a1, fixed 2.1.9 (ecosystem)2.1.9
2.1.9pip install --upgrade django==2.1.92.2a1, fixed 2.2.2 (ecosystem)2.2.2
2.2.2pip install --upgrade django==2.2.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0