PyPA Advisory Database
PYSEC-2020-32
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 2.2 before 2.2.13 (fixed in 2.2.13) From 3.0 before 3.0.7 (fixed in 3.0.7) |
References
- https://www.djangoproject.com/weblog/2020/jun/03/security-releases/
- https://groups.google.com/forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ
- https://docs.djangoproject.com/en/3.0/releases/security/
- https://usn.ubuntu.com/4381-1/
- https://usn.ubuntu.com/4381-2/
- https://security.netapp.com/advisory/ntap-20200611-0002/
- https://www.debian.org/security/2020/dsa-4705
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://github.com/advisories/GHSA-2m34-jcjv-45xf