Skip to main content
VulnerabilityPublished

CVE-2026-115868: Django · Cross-site Scripting

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-115868· Medium 6.1

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (DSF)CVSS 3.16.1
CNA (DSF)CVSS 4.05.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
DjangodjangoAffected
  • >=6.1 <6.1.4
Fixed in
  • 6.1.4
DjangodjangoAffected
  • >=6.0 <6.0.11
Fixed in
  • 6.0.11
DjangodjangoAffected
  • >=5.2 <5.2.20
Fixed in
  • 5.2.20
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • >=6.1 <6.1.4
  • >=6.0 <6.0.11
  • >=5.2 <5.2.20
Fixed in
  • 6.1.4
  • 6.0.11
  • 5.2.20

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

Community reviews

Loading reviews…