EnvMap GitHub

CVE-2026-115868

Potential cross-site scripting vulnerability in truncatechars_html

EPSS 0.54%Deferred

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.

In the words of the organisation that published it (DSF).

Severity

  • 5.1 Medium · CVSS 4.0 from 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 · CVSS: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

Affected

  • djangoproject Django: from 6.1 before 6.1.4; from 6.0 before 6.0.11; from 5.2 before 5.2.20

as the publisher (DSF) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.54% chance of exploitation in the next 30 days, higher than 47% of all CVEs (as of 4 December 2026).

Weakness

CWE-79

References

Record

Published14:17 UTC, 2 December 2026
Last changed17:16 UTC, 2 December 2026
NVD statusDeferred
Published byDSF

CVE-2026-115868 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.