Versions mentioned in the description apply to the upstream
Remediation section below for
Ubuntu:16.04 relevant versions.
An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. Query parameters generated by the Django admin ForeignKeyRawIdWidget were not properly URL encoded, leading to a possibility of an XSS attack.
python-django to version 1.8.7-1ubuntu5.13 or higher.