{"id":"CVE-2026-1285","aliases":["CVE-2026-1285","GHSA-4rrr-2h4v-f3j9","BIT-DJANGO-2026-1285","PYSEC-2026-45"],"related":[],"kind":"vulnerability","state":"published","title":"Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods","summary":"An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Seokchan Yoon for reporting this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Seokchan Yoon for reporting this issue.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en 6.0 anterior a 6.0.2, 5.2 anterior a 5.2.11 y 4.2 anterior a 4.2.28.\nLos métodos 'django.utils.text.Truncator.chars()' y 'Truncator.words()' (con 'html=True') y los filtros de plantilla 'truncatechars_html' y 'truncatewords_html' permiten a un atacante remoto causar una potencial denegación de servicio mediante entradas manipuladas que contienen un gran número de etiquetas de cierre HTML no coincidentes.\nSeries de Django anteriores y sin soporte (como 5.0.x, 4.1.x y 3.2.x) no fueron evaluadas y también pueden verse afectadas.\nDjango desea agradecer a Seokchan Yoon por informar de este problema.","source":"nvd"}],"published":"2026-02-03T14:35:50.254Z","modified":"2026-09-10T03:50:34.146Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"semver","introduced":"6.0","fixed":"6.0.2","status":"affected"},{"type":"semver","version":"6.0.2","status":"unaffected"},{"type":"semver","introduced":"5.2","fixed":"5.2.11","status":"affected"},{"type":"semver","version":"5.2.11","status":"unaffected"},{"type":"semver","introduced":"4.2","fixed":"4.2.28","status":"affected"},{"type":"semver","version":"4.2.28","status":"unaffected"}],"vendor":"djangoproject","product":"Django","package":"django","repo":"https://github.com/django/django/","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0a1","status":"affected","fixed":"6.0.2"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2a1","status":"affected","fixed":"5.2.11"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2a1","status":"affected","fixed":"4.2.28"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2","fixed":"4.2.28"},{"status":"affected","introduced":"5.2","fixed":"5.2.11"},{"status":"affected","introduced":"6.0","fixed":"6.0.2"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.28"},{"type":"ecosystem","introduced":"5.2","status":"affected","fixed":"5.2.11"},{"type":"ecosystem","introduced":"6.0","status":"affected","fixed":"6.0.2"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.28"},{"type":"semver","introduced":"5.2.0","status":"affected","fixed":"5.2.11"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.2"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/g/django-announce","tags":["advisory","article","mailing-list","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases/","tags":["advisory","fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1285","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/a33540b3e20b5d759aa8b2e4b9ca0e8edd285344","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-45.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4rrr-2h4v-f3j9","tags":["advisory"],"sources":["pysec"]}],"credits":["Seokchan Yoon","Natalia Bidart","Jacob Walls"],"assigner":"DSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-03T16:22:30.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-1285","url":"https://www.cve.org/CVERecord?id=CVE-2026-1285","licence":"CVE Terms of Use","modified":"2026-02-03T16:22:33.352Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4rrr-2h4v-f3j9","url":"https://github.com/advisories/GHSA-4rrr-2h4v-f3j9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:34.146Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-1285","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1285","licence":"Public domain","modified":"2026-06-17T10:15:27.220Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-45","url":"https://osv.dev/vulnerability/PYSEC-2026-45","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:08.611Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2026-1285","url":"https://osv.dev/vulnerability/BIT-DJANGO-2026-1285","licence":"Apache-2.0","modified":"2026-09-08T08:46:37.140Z"}],"updatedAt":"2026-11-25T22:59:13.391Z","epss":{"score":0.01112,"percentile":0.66886,"date":"2026-12-01T12:00:22.000Z"}}