CVE-2026-15920: An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.contrib.admin.utils.display_for_field(
Summary
Django versions 5.2 before 5.2.17 and 6.0 before 6.0.8 have a bug where the admin interface displays URLField (a field for storing web addresses) values as clickable links without checking if the URLs are safe, allowing cross-site scripting (injecting malicious code that runs in a user's browser). The vulnerability only affects applications that store invalid URL data directly in the database without running validation checks, such as through bulk imports or direct database writes.
Solution / Mitigation
Update Django to version 5.2.17 or 6.0.8 or later.
Vulnerability Details
6.1(medium)
EPSS: 0.0%
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
network
low
none
required
August 4, 2026
Classification
Taxonomy References
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-15920
First tracked: August 4, 2026 at 02:11 PM
Classified by LLM (prompt v3) · confidence: 65%