{"schema_version":"1.7.3","id":"GHSA-2m34-jcjv-45xf","published":"2020-06-05T16:24:28Z","modified":"2024-09-20T15:46:33.021684Z","aliases":["BIT-django-2020-13596","CVE-2020-13596","PYSEC-2020-32"],"summary":"XSS in Django","details":"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.","affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2a1"},{"fixed":"2.2.13"}]}],"versions":["2.2","2.2.1","2.2.10","2.2.11","2.2.12","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.2a1","2.2b1","2.2rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-2m34-jcjv-45xf/GHSA-2m34-jcjv-45xf.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0a1"},{"fixed":"3.0.7"}]}],"versions":["3.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0a1","3.0b1","3.0rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-2m34-jcjv-45xf/GHSA-2m34-jcjv-45xf.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13596"},{"type":"WEB","url":"https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38"},{"type":"WEB","url":"https://github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815"},{"type":"WEB","url":"https://docs.djangoproject.com/en/3.0/releases/security"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2m34-jcjv-45xf"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20200611-0002"},{"type":"WEB","url":"https://usn.ubuntu.com/4381-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4381-2"},{"type":"WEB","url":"https://www.debian.org/security/2020/dsa-4705"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2020/jun/03/security-releases"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2021.html"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2020-06-04T18:32:57Z","nvd_published_at":"2020-06-03T14:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}