{"id":"CVE-2020-13596","details":"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.","aliases":["BIT-django-2020-13596","GHSA-2m34-jcjv-45xf","PYSEC-2020-32"],"modified":"2026-03-20T11:32:03.033747Z","published":"2020-06-03T14:15:12.627Z","related":["SUSE-RU-2020:2072-1","SUSE-RU-2020:2161-1","SUSE-SU-2020:1901-1","SUSE-SU-2020:2055-1","openSUSE-SU-2024:11205-1","openSUSE-SU-2024:13887-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2026:10005-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200611-0002/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4381-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4381-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4705"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2020/jun/03/security-releases/"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/3.0/releases/security/"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2021.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"},{"fixed":"8093aaa8ff9dd7386a069c6eb49fcc1c5980c033"},{"introduced":"2a04e24d2dfc8e60a66e4369d970913cb2112d91"},{"fixed":"44da7abda848f05caaed74f6a749038c87dedfda"}],"database_specific":{"versions":[{"introduced":"2.2"},{"fixed":"2.2.13"},{"introduced":"3.0"},{"fixed":"3.0.7"}]}}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]},{"events":[{"introduced":"0"},{"last_affected":"20.04"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.8"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-13596.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}