Skip to main content
VulnerabilityPublished

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

Affects djangoproject DjangoSource CVE Database V5

0
Compare

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

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: 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

Community reviews

Loading reviews…