CVE-2026-15920: Python django · An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8
Affects python-djangoSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-djangopkg:deb/ubuntu/python-django?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-15920 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-15920 (opens in a new tab)
- djangoproject.com/weblog/2026/aug/04/security-releases/ (opens in a new tab)
- docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- github.com/django/django/commit/13debb622a32720bda1bccda7622fd14fbf3931b (opens in a new tab)
- github.com/django/django/commit/47511a21026cdd721d8fbf8571cc079bc38bb46d (opens in a new tab)
- github.com/django/django/commit/5a260d309a4c8010c2ebda24eb758a5d95e2508a (opens in a new tab)
- github.com/django/django/commit/b9adb81339cc418f8f56b1050cca6dfec3ab6349 (opens in a new tab)
- groups.google.com/g/django-announce (opens in a new tab)