PT-2019-4622

CVE-2019-12308

·

Published

2019-05-26

·

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 1.11 through 1.11.20 Django versions 2.1 through 2.1.8 Django versions 2.2 through 2.2.1
Description The issue is related to the AdminURLFieldWidget function in the Django web development framework, which is associated with incorrect restriction of the path name to a directory with limited access. This could allow a remote attacker to impact data integrity. The clickable Current URL value displayed by the AdminURLFieldWidget shows the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in a clickable JavaScript link.
Recommendations For Django versions 1.11 through 1.11.20, update to version 1.11.21 or later. For Django versions 2.1 through 2.1.8, update to version 2.1.9 or later. For Django versions 2.2 through 2.2.1, update to version 2.2.2 or later. As a temporary workaround, consider disabling the clickable Current URL value displayed by the AdminURLFieldWidget until a patch is available. Restrict access to the AdminURLFieldWidget to minimize the risk of exploitation. Avoid using unvalidated values from the database or URL query parameters in the AdminURLFieldWidget until the issue is resolved.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-7RP2-FM2H-WCHJ
ALT-PU-2019-2367
CLEANSTART-2025-YR82151
DLA-1814-1
DLA-1842-1
DSA-4476-1
OPENSUSE-SU-2019:1839-1
OPENSUSE-SU-2019_1839-1
OPENSUSE-SU-2019:1872-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-2019-79
SUSE-SU-2019:2034-1
SUSE-SU-2019:2257-1
SUSE-SU-2019:2335-1
SUSE-SU-2024:2817-1
USN-4043-1
Found an issue in the description? Have something to add? Feel free to write us 👾