CVE-2026-15920 json
Potential cross-site scripting via URLField values in the admin
published 2026-08-04 3 mo ago modified 2026-10-24 15 d ago also BIT-django-2026-15920 , EUVD-2026-52750
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami django 5.2.17, 6.0.8
- djangoproject Django 5.2.17, 6.0.8
- python-django Debian 12 3:3.2.25-0+deb12u4
- python-django Debian 14 3:5.2.17-1
debian advisories DEBIAN-CVE-2026-15920
- python-Django SLE Module for Package Hub 15 SP7 4.2.11-150600.3.65.1
suse advisories SUSE-SU-2026:3503-1
- python-Django5 openSUSE Tumbleweed 5.2.17-1.1
- python-Django openSUSE Leap 16.0 5.2.4-bp160.11.1
- python-Django openSUSE Tumbleweed 6.0.8-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-5.1
opensuse advisories openSUSE-SU-2026:11491-1openSUSE-SU-2026:21543-1openSUSE-SU-2026:11464-1openSUSE-SU-2026:11465-1
- py3-django Alpine 3.24 5.2.17-r0
alpine advisories ALPINE-CVE-2026-15920
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-15920 updated cvss 5.4
django: Django: Cross-site scripting via unvalidated URLField values in the admin
-
Red Hat Ansible Automation Platform 2 python-django 5.2.12-2.el10ap, automation-controller 4.6.30-2.el9ap, ansible-automation-platform-24/hub-rhel8, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, +22 moreaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Discovery 2 discovery/discovery-server-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.1 python3-django, python-django 5.2.12-2.el10apaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 18.0 python-django 5.2.12-2.el10ap Red Hat Satellite 6 python-django, python2-django, python-django 5.2.12-2.el10ap, python-django-bash-completion, satellite/iop-advisor-backend-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Update Infrastructure 4 for Cloud Providers python-django 5.2.12-2.el10apaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | django | >=5.2.0, <5.2.17 >=6.0.0, <6.0.8 |
5.2.17 6.0.8 |
Affected products
- djangoproject Django
Classification
- Weakness
-
- CWE-83 Improper Neutralization of Script in Attributes in a Web Page
- Technology feeds
References
-
github.com
/django/django/commit/47511a21026cdd721d8fbf8571cc079bc38bb46d
patch
-
github.com
/django/django/commit/5a260d309a4c8010c2ebda24eb758a5d95e2508a
patch
-
github.com
/django/django/commit/13debb622a32720bda1bccda7622fd14fbf3931b
patch
-
github.com
/django/django/commit/b9adb81339cc418f8f56b1050cca6dfec3ab6349
patch
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, patch, advisory
-
djangoproject.com
/weblog/2026/aug/04/security-releases/
vendor-advisory, advisory
-
groups.google.com
/g/django-announce
mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2026-15920
web
Sources
- CVE List CVE-2026-15920
- NVD CVE-2026-15920
- OSV BIT-django-2026-15920
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.