Vulnerability advisory
GHSA-2m34-jcjv-45xf
XSS in Django
Also known as BIT-django-2020-13596CVE-2020-13596PYSEC-2020-32
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - 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
Affected versions
| Affected | Fixed in |
|---|---|
2.2a1 to before 2.2.13 | 2.2.13Advisories → |
3.0a1 to before 3.0.7 | 3.0.7Advisories → |
Description
An issue was discovered in Django version 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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-13596 ↗
- Webgithub.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 ↗
- Webgithub.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815 ↗
- Webdocs.djangoproject.com/en/3.0/releases/security ↗
- Advisorygithub.com/advisories/GHSA-2m34-jcjv-45xf ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml ↗
- Webgroups.google.com/forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ ↗
- Weblists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ ↗
- Websecurity.netapp.com/advisory/ntap-20200611-0002 ↗
- Webusn.ubuntu.com/4381-1 ↗
- Webusn.ubuntu.com/4381-2 ↗
- Webwww.debian.org/security/2020/dsa-4705 ↗
- Webwww.djangoproject.com/weblog/2020/jun/03/security-releases ↗
- Webwww.oracle.com/security-alerts/cpujan2021.html ↗