CVE-2026-115868: Django · Cross-site Scripting
Source GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 6.1.4 : update Django when convenient.
Data as of 2 Dec 2026, 16: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: Django 6.1.4, 6.0.11, and 5.2.20 address this vulnerability. Users should upgrade to these or later versions to remediate the issue. No vendor advisory content was provided to indicate alternative mitigations or if no action is required.
Description
A cross-site scripting (XSS) vulnerability exists in Django versions prior to 6.1.4, 6.0.11, and 5.2.20 in the truncatechars_html template filter and the Truncator.chars() method when used with html=true. This issue occurs when inputs with text length exactly matching the truncation length are rendered inside HTML attributes, potentially allowing script injection. Earlier unsupported Django versions might also be affected. The vulnerability has a medium severity rating with a CVSS score of 6.1.
References
- nvd.nist.gov/vuln/detail/CVE-2026-115868 (opens in a new tab)
- github.com/django/django/commit/454f44fc8f52d0b925a7661b9809061f257eeac9 (opens in a new tab)
- github.com/django/django/commit/781dd5f5d53b6848dce649582d30bef4f0f94f67 (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)
- docs.djangoproject.com/en/dev/releases/security (opens in a new tab)
- groups.google.com/g/django-announce (opens in a new tab)
- djangoproject.com/weblog/2026/dec/02/security-releases (opens in a new tab)