CVE Explorer
CVE-2026-1285
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.
Dja
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"lessThan":"6.0.2","status":"affected","version":"6.0","versionType":"semver"},{"status":"unaffected","version":"6.0.2","versionType":"semver"},{"lessThan":"5.2.11","status":"affected","version":"5.2","versionType":"semver"},{"status":"unaffected","version":"5.2.11","versionType":"semver"},{"lessThan":"4.2.28","status":"affected","version":"4.2","versionType":"semver"},{"status":"unaffected","…
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-407","description":"CWE-407: Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Django security archive","tags":["vendor-advisory"],"url":"https://docs.djangoproject.com/en/dev/releases/security/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/cna/references/0
{"name":"Django releases announcements","tags":["mailing-list"],"url":"https://groups.google.com/g/django-announce"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.2, 5.2.11, and 4.2.28","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:508f804e3582a0666ad180a0ad9c2a7c6a86da954f3fbf3cd9127c58565c293d · sha256:59dbe6f023106641… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.