
CVE catalog
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()` renders `URLField` values as clickable links in the admin without validating
- Severity
- Medium · CVSS 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 25, 2026
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()` renders `URLField` values as clickable links in the admin without validating the URL. A value stored with an unsafe scheme is displayed as a link on changelist and read-only admin pages, which allows cross-site scripting against staff users who click the link. Exploitation requires the unsafe value to already be stored in the database. `URLField` validation through a `ModelForm` or the admin rejects unsafe schemes, so this affects applications that persist `URLField` data without running model validation, for example through direct queryset writes, deserialization, or bulk import of untrusted input. Django would like to thank Egor Saltykov for reporting this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | vulnerable |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | vulnerable |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | vulnerable |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | fixed |
| Cpe | django | Not reported | 6.0.8 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | forky | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | trixie | (unfixed) | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | bookworm | 3:3.2.25-0+deb12u4 | not yet assigned | Not reported | [1143611] |
| Cpe | django | cpe | Not reported | 6.0.8 | Not reported | NVD-CVE-2026-15920 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
Observed:
References
- [https://docs.djangoproject.com/en/dev/releases/security/]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3503-1.json]
- [https://github.com/django/django/commit/13debb622a32720bda1bccda7622fd14fbf3931b]
- [https://github.com/django/django/commit/47511a21026cdd721d8fbf8571cc079bc38bb46d]
- [https://github.com/django/django/commit/5a260d309a4c8010c2ebda24eb758a5d95e2508a]
- [https://github.com/django/django/commit/b9adb81339cc418f8f56b1050cca6dfec3ab6349]
- [https://groups.google.com/g/django-announce]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-15920]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-15920]
- [https://security-tracker.debian.org/tracker/CVE-2026-15920]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-15920.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2649.json]
- [https://www.djangoproject.com/weblog/2026/aug/04/security-releases/]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]