Name | CVE-2020-13596 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2233-1, DSA-4705-1 |
Debian Bugs | 962323 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-django (PTS) | jessie, jessie (lts) | 1.7.11-1+deb8u17 | fixed |
| stretch (security) | 1:1.10.7-2+deb9u17 | fixed |
| stretch (lts), stretch | 1:1.10.7-2+deb9u23 | fixed |
| buster, buster (lts) | 1:1.11.29-1+deb10u12 | fixed |
| buster (security) | 1:1.11.29-1+deb10u11 | fixed |
| bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
| bookworm (security), bookworm | 3:3.2.19-1+deb12u1 | fixed |
| trixie | 3:4.2.16-1 | fixed |
| sid | 3:4.2.17-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://www.openwall.com/lists/oss-security/2020/06/03/1
https://github.com/django/django/commit/2dd4d110c159d0c81dff42eaead2c378a0998735 (master)
https://github.com/django/django/commit/49d7cc19e33a104bb23f7ae1dbb1240b4f6c40f9 (3.1 branch)
https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 (3.0 branch)
https://github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815 (2.2. branch)