In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-py3-django | Aug 22, 2024 | Nov 3, 2023 | |
| Debian | debian-upgrade-python-django | May 15, 2025 | Nov 3, 2023 | |
| Freebsd | freebsd-upgrade-package-py39-django32freebsd-upgrade-package-py310-django32freebsd-upgrade-package-py311-django32freebsd-upgrade-package-py39-django41freebsd-upgrade-package-py310-django41freebsd-upgrade-package-py311-django41freebsd-upgrade-package-py39-django42freebsd-upgrade-package-py310-django42freebsd-upgrade-package-py311-django42 | Dec 10, 2025 | Oct 5, 2023 | |
| Suse | — | suse-upgrade-python3-djangosuse-upgrade-python3-django1 | Oct 18, 2023 | Oct 17, 2023 |
| Ubuntu | ubuntu-pro-upgrade-python3-djangoubuntu-upgrade-python3-django | Oct 6, 2023 | Oct 4, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub