CVE-2026-1285: Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods
Vulnerability summary
CVE-2026-1285 is a high (CVSS 7.5) Inefficient Algorithmic Complexity vulnerability in djangoproject django. EPSS estimates a 1.11% chance of exploitation in the next 30 days, higher than 66% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 8Timeline
- 03-02-2026PublishedVulnerability first disclosed.
- 03-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.11%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 1.13% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- authentik< 2025.12.1-r2
- authentik-fips< 2025.12.1-r2
- awx< 24.6.1-r27
- label-studio< 1.22.0-r3
Alpine1 product
- py3-django< 4.2.28-r0
Debian1 product
- python-django< 3:3.2.25-0+deb12u2 | < 3:4.2.28-0+deb13u1 | < 3:4.2.28-1
Djangoproject1 product
- django≥ 4.2, < 4.2.28 | ≥ 5.2, < 5.2.11 | ≥ 6.0, < 6.0.2
PyPI1 product
- django≥ 6.0a1, < 6.0.2 | ≥ 5.2a1, < 5.2.11 | ≥ 4.2a1, < 4.2.28 | ≥ 6.0, < 6.0.2
Ubuntu1 product
- python-django< 1.8.7-1ubuntu5.15+esm11 | < 1:1.11.11-1ubuntu1.21+esm14 | < 2:2.2.12-1ubuntu0.29+esm7 | < 2:3.2.12-2ubuntu1.25 | < 3:4.2.11-1ubuntu1.14 | < 3:5.2.4-1ubuntu2.3 | < 3:5.2.9-0ubuntu3
6 vendors · 9 products
References
18 links- github.com/django/djangoPACKAGE
Show all 18 references
- pypi.org/project/Django/PACKAGE