PT-2020-5464

CVE-2020-13596

·

Published

2020-06-03

·

Updated

2026-10-31

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Django versions 2.2 before 2.2.13 Django versions 3.0 before 3.0.7
Description An issue in the Django admin ForeignKeyRawIdWidget allows for a possibility of an XSS attack due to query parameters not being properly URL encoded. This could enable a remote attacker to conduct cross-site scripting attacks. The vulnerability is related to the lack of protection measures for the web page structure, which can be exploited by a remote attacker.
Recommendations For Django versions 2.2 before 2.2.13, update to version 2.2.13 or later to resolve the issue. For Django versions 3.0 before 3.0.7, update to version 3.0.7 or later to resolve the issue. As a temporary workaround, consider disabling the ForeignKeyRawIdWidget function until a patch is available.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2M34-JCJV-45XF
ALT-PU-2020-3491
BIT-DJANGO-2020-13596
CLEANSTART-2025-XY85682
DLA-2233-1
DSA-4705-1
OPENSUSE-SU-2024:11205-1
OPENSUSE-SU-2024:13887-1
OPENSUSE-SU-2024:14208-1
OPENSUSE-SU-2026:10005-1
OPENSUSE-SU-2026:11235-1
OPENSUSE-SU-2026:11248-1
OPENSUSE-SU-2026:11270-1
PYSEC-2020-32
SUSE-RU-2020:2072-1
SUSE-RU-2020:2161-1
SUSE-SU-2020:1901-1
SUSE-SU-2020:2055-1
USN-4381-1
USN-4381-2
Found an issue in the description? Have something to add? Feel free to write us 👾