CVE-2020-13596
MEDIUM 6.1CVSS 3.1XSS in Django
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.
- Published
- 3 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-django-2020-13596GHSA-2m34-jcjv-45xfPYSEC-2020-32
- Sources
- NVDJSONOSV GHSA-2m34-jcjv-45xfJSONOSV PYSEC-2020-32JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.13 | 2.2.13 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.0, < 3.0.7 | 3.0.7 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* |
= 19.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* |
= 20.04 | |
| NVD | netapp | sra_plugincpe:2.3:a:netapp:sra_plugin:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | steelstore_cloud_integrated_storagecpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | oracle | zfs_storage_appliance_kitcpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* |
= 8.8 | |
| OSV | PyPI | django | >= 2.2a1, < 2.2.13 | 2.2.13 |
| OSV | PyPI | django | >= 3.0a1, < 3.0.7 | 3.0.7 |
| OSV | PyPI | django | >= 2.2, < 2.2.13; >= 3.0, < 3.0.7 | 2.2.13, 3.0.7 |
References
- https://docs.djangoproject.com/en/3.0/releases/security/ · Release Notes, Vendor Advisory, WEB
- https://groups.google.com/forum/#%21msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
- https://security.netapp.com/advisory/ntap-20200611-0002/ · Third Party Advisory, WEB, ADVISORY
- https://usn.ubuntu.com/4381-1/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/4381-2/ · Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4705 · Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2020/jun/03/security-releases/ · Release Notes, Vendor Advisory, WEB, ARTICLE
- https://www.oracle.com/security-alerts/cpujan2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-13596 · ADVISORY
- https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 · WEB
- https://github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815 · WEB
- https://github.com/advisories/GHSA-2m34-jcjv-45xf · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml · WEB
- https://groups.google.com/forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Jun 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2020)