6.1
MEDIUM CVSS 3.1
CVE-2026-115868
Potential cross-site scripting vulnerability in truncatechars_html
Description

An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `truncatechars_html` template filter and the `django.utils.text.Truncator.chars()` method (with `html=True`) are subject to a potential cross-site scripting (XSS) attack when certain inputs whose text length matches the truncation length are processed and rendered in an HTML attribute. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank JoeCyberTech for reporting this issue.

INFO

Published Date :

Dec. 2, 2026, 2:17 p.m.

Last Modified :

Dec. 2, 2026, 2:17 p.m.

Remotely Exploit :

Yes !

Source :

6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Affected Products

The following products are affected by CVE-2026-115868 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Djangoproject django
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
CVSS 4.0 MEDIUM 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Solution
Update Django to a patched version to fix potential cross-site scripting vulnerabilities in text truncation.
  • Update Django to version 6.1.4 or later.
  • Update Django to version 6.0.11 or later.
  • Update Django to version 5.2.20 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-115868 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-115868 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-115868 vulnerability anywhere in the article.

  • The Hacker News
New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation

The maintainers of Django have released versions 6.1.4, 6.0.11, and 5.2.20 to address seven security vulnerabilities, including a critical security flaw that could potentially enable remote code execu ... Read more

Published Date: Dec 02, 2026 (3 hours, 21 minutes ago)

The following table lists the changes that have been made to the CVE-2026-115868 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

    Dec. 02, 2026

    Action Type Old Value New Value
    Added Description An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `truncatechars_html` template filter and the `django.utils.text.Truncator.chars()` method (with `html=True`) are subject to a potential cross-site scripting (XSS) attack when certain inputs whose text length matches the truncation length are processed and rendered in an HTML attribute. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank JoeCyberTech for reporting this issue.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/115xxx/CVE-2026-115868.json">CVE-2026-115868</a>
    Added Reference https://docs.djangoproject.com/en/dev/releases/security/
    Added Reference https://github.com/django/django/commit/454f44fc8f52d0b925a7661b9809061f257eeac9
    Added Reference https://github.com/django/django/commit/781dd5f5d53b6848dce649582d30bef4f0f94f67
    Added Reference https://github.com/django/django/commit/7cf220a2486a7c5944893818bad9a6bbaebc48df
    Added Reference https://github.com/django/django/commit/aaf82df0c772d98a71b740a331fccc0accb818a3
    Added Reference https://groups.google.com/g/django-announce
    Added Reference https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.