Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief
CVE record Medium

CVE-2026-115868

Potential cross-site scripting vulnerability in truncatechars_html

Highest CVSS6.1
CISA KEVNot listed
CISA SSVC exploitationNoneAutomatable: no
Routine

No exploitation reported and moderate or unknown severity. Patch CVE-2026-115868 through your normal process and keep an eye on this page.

Watch this CVE

Get an email when CVE-2026-115868 changes: new CVSS scores, exploitation (CISA KEV), fixes or affected versions. Free, one-click stop.

All djangoproject CVEs

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 scores

VersionScored byScoreVector
CVSS 3.1DSF (CNA)6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 4.0DSF (CNA)5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 4.0CNA5.1 MediumCVSS:4.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

Timeline

  1. CVE published
  2. Last updated by the CVE authority
  3. First tracked by SecureCyberVM

Am I affected?

  1. Do you run djangoproject Django? Check the exact versions in the affected products list.
  2. Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
  3. Watch this page: if exploitation is reported it moves to the top of your list.
  4. Apply the vendor's update as soon as it is available; restrict access to the service until then.

Affected products

Fix

Weakness

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Coverage of CVE-2026-115868

Other djangoproject vulnerabilities

All djangoproject vulnerabilities →

Frequently asked questions

Is CVE-2026-115868 being actively exploited?

There are no confirmed reports of exploitation in the wild: CVE-2026-115868 is not in CISA's Known Exploited Vulnerabilities catalog. This page is re-checked daily.

How severe is CVE-2026-115868?

CVE-2026-115868 has a highest CVSS score of 6.1 (Medium) under CVSS 3.1. Severity alone is not priority: check exploitation status and whether you run an affected version.

How do I fix CVE-2026-115868?

Apply the vendor's security update as soon as it is available and follow the official advisory linked in the references on this page. Restrict exposure of the affected service until it is patched.

Which products are affected by CVE-2026-115868?

djangoproject Django. See the affected products list on this page for exact versions.

References

Change log

    • First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.

Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.