VDB

CVE-2026-1285

CVE-2026-1285 PUBLISHED CVSS 7.5 HIGH

Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods

Reported by dsf · Published February 3, 2026

django is fixed in 6.0.2, 5.2.11 and 4.2.28 (PyPI)

An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `django.utils.text.Truncator.chars()` and `Truncator.words()` methods (with `html=True`) and the `truncatechars_html` and `truncatewords_html` template filters allow a remote attacker to cause a potential denial-of-service via crafted inputs containing a large number of unmatched HTML end tags. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI6.0.2, 5.2.11, 4.2.28
djangoBitnami6.0.2, 5.2.11, 4.2.28
py3-djangoAlpine4.2.28-r0
awxChainguard24.6.1-r27
authentik-fipsChainguard2025.12.1-r2
authentikChainguard2025.12.1-r2
label-studioChainguard1.22.0-r3
djangodjangoproject6.0.2, 5.2.11, 4.2.28
djangoBitnami6.0.2, 5.2.11, 4.2.28

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
djangoprojectDjango6.0, 6.0.2, 5.2
djangoprojectDjango6.0, 6.0.2, 5.2

Timeline

  • Feb 3, 2026 CVE Published
  • Feb 3, 2026 PoC Published (3 in total, the first dated here)
  • Feb 3, 2026 CVE Updated
  • Feb 4, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (18 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 27, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-1285
vulnetix vdb fixes CVE-2026-1285

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-1285/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›