CVE-2026-115868: djangoproject Django · Cross-site Scripting
Affects djangoproject DjangoSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium · fixed in 6.1.4 : update djangoproject Django when convenient.
Data as of 2 Dec 2026, 13:33 UTC
Thin evidence
One scorer or none| CNA (DSF) | CVSS 3.1 | 6.1 |
|---|---|---|
| CNA (DSF) | CVSS 4.0 | 5.1 |
- Patch
- Available – fixed in 6.1.4, 6.0.11, 5.2.20
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 2 Dec 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 2 Dec 2026.
What to do
Upgrade Django and django to 6.1.4, 6.0.11 or 5.2.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions are available: upgrade to Django 6.1.4, 6.0.11, or 5.2.20 or later. Applying these official fixes will remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
A cross-site scripting (XSS) vulnerability exists in Django versions prior to 6.1.4, 6.0.11, and 5.2.20. The issue affects the truncatechars_html template filter and the django.utils.text.Truncator.chars() method when used with html=True, specifically when processing inputs whose text length matches the truncation length and are rendered in HTML attributes. This vulnerability could allow an attacker to inject malicious scripts in affected Django applications.
References
- docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- groups.google.com/g/django-announce (opens in a new tab)
- github.com/django/django/commit/454f44fc8f52d0b925a7661b9809061f257eeac9 (opens in a new tab)
- github.com/django/django/commit/7cf220a2486a7c5944893818bad9a6bbaebc48df (opens in a new tab)
- github.com/django/django/commit/aaf82df0c772d98a71b740a331fccc0accb818a3 (opens in a new tab)
- github.com/django/django/commit/781dd5f5d53b6848dce649582d30bef4f0f94f67 (opens in a new tab)
- djangoproject.com/weblog/2026/dec/02/security-releases/ (opens in a new tab)