VDB
CVE-2020-13596
CVE-2020-13596
PUBLISHED
CVSS 6.099999904632568 MEDIUM
XSS in Django
Reported by mitre · Published June 3, 2020
Django is fixed in 3.0.7 and 2.2.13 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Django | PyPI | 3.0.7, 2.2.13 |
| python-django | Ubuntu:18.04:LTS | 1:1.11.11-1ubuntu1.9 |
| python-django | Ubuntu:Pro:14.04:LTS | 1.6.11-0ubuntu1.3+esm1 |
Risk scores
CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Django | 2.2a1, 3.0a1 |
| n/a | n/a | * |
| alpine | py3-django | 0 |
| arch | python-django | 0 |
Timeline
- Jun 3, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-13596
vulnetix vdb fixes CVE-2020-13596
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-13596/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-4381-1 vendor-advisoryx_refsource_UBUNTU
- USN-4381-2 vendor-advisoryx_refsource_UBUNTU
- DSA-4705 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2020-c2639662af vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-13596 advisory
- https://github.com/advisories/GHSA-2m34-jcjv-45xf advisory
- https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 patch
- https://github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815 patch
- https://docs.djangoproject.com/en/3.0/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml advisory
- https://groups.google.com/forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ url
- https://security.netapp.com/advisory/ntap-20200611-0002 advisory
- https://usn.ubuntu.com/4381-1 url
…and 2 more