{"id":"CVE-2020-13596","aliases":["BIT-django-2020-13596","GHSA-2m34-jcjv-45xf","PYSEC-2020-32"],"url":"https://o3.security/vulnerability/CVE-2020-13596","summary":"XSS in Django","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.","published":"2020-06-03T14:15:12.627Z","modified":"2026-07-15T10:14:52.876453270Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"2.2.13"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.0.7"}],"fix":null,"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/3.0/releases/security/"},{"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":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2021.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T10:14:52.876453270Z"}}