{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-1285","id":"CVE-2026-1285","title":"Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods","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.\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, unsuppor","descriptionLong":"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.","published":"2026-02-03T14:35:50.254Z","updated":"2026-10-28T02:30:26.680851165Z","reserved":"2026-01-21T12:49:21.258Z","status":"Analyzed","rejected":false,"assigner":"DSF","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["djangoproject Django"],"affectedProducts":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unaffected","versions":[{"status":"affected","version":"6.0","lessThan":"6.0.2","versionType":"semver"},{"status":"unaffected","version":"6.0.2","versionType":"semver"},{"status":"affected","version":"5.2","lessThan":"5.2.11","versionType":"semver"},{"status":"unaffected","version":"5.2.11","versionType":"semver"},{"status":"affected","version":"4.2","lessThan":"4.2.28","versionType":"semver"},{"status":"unaffected","version":"4.2.28","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=6.0a1 <6.0.2",">=5.2a1 <5.2.11",">=4.2a1 <4.2.28",">=4.2 <4.2.28",">=5.2 <5.2.11",">=6.0 <6.0.2"],"fixed":["6.0.2","5.2.11","4.2.28"],"advisory":"GHSA-4rrr-2h4v-f3j9"}],"cwes":["CWE-407"],"aliases":["BIT-django-2026-1285","GHSA-4rrr-2h4v-f3j9","PYSEC-2026-45"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list","Release Notes","article","web","advisory"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases/","tags":["vendor-advisory","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://github.com/django/django/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1285.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1285","tags":["advisory"]},{"url":"https://pypi.org/project/Django/","tags":["package"]},{"url":"https://github.com/django/django/commit/a33540b3e20b5d759aa8b2e4b9ca0e8edd285344","tags":["web"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-45.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4rrr-2h4v-f3j9","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01112,"epssPercentile":0.66657,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-1285","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1285","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-1285","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4rrr-2h4v-f3j9","ok":true,"note":"GHSA-4rrr-2h4v-f3j9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-1285","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}