6.1

CVE-2026-115868: Potential cross-site scripting vulnerability in truncatechars_html

Deferred
AliasesDEBIAN-CVE-2026-115868UBUNTU-CVE-2026-115868
Published 02-12-2026Last modified 02-12-2026

Vulnerability summary

CVE-2026-115868 is a medium (CVSS 6.1) vulnerability in djangoproject django. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 47.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 02-12-2026
    PublishedVulnerability first disclosed.
  2. 02-12-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

03-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • python-djangoAll versions (No fix recorded)
Djangoproject1 product
  • django≥ 6.1, < 6.1.4 | ≥ 6.0, < 6.0.11 | ≥ 5.2, < 5.2.20
Ubuntu1 product
  • python-djangoAll versions (No fix recorded)

3 vendors · 3 products

References

10 links