CVE-2026-1285
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-02-03

Last updated on: 2026-02-04

Assigner: Django Software Foundation

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-03
Last Modified
2026-02-04
Generated
2026-06-16
AI Q&A
2026-02-04
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
djangoproject django From 4.2 (inc) to 4.2.28 (exc)
djangoproject django From 5.2 (inc) to 5.2.11 (exc)
djangoproject django From 6.0 (inc) to 6.0.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in certain versions of Django before 6.0.2, 5.2.11, and 4.2.28. It affects the Truncator.chars() and Truncator.words() methods when used with the html=True option, as well as the truncatechars_html and truncatewords_html template filters.

The issue allows a remote attacker to cause a potential denial-of-service (DoS) by sending crafted inputs that contain a large number of unmatched HTML end tags.

Impact Analysis

The primary impact of this vulnerability is a potential denial-of-service (DoS) condition. An attacker can exploit this by sending specially crafted inputs with many unmatched HTML end tags, which can cause the affected Django application to become unresponsive or crash.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-1285. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart