CVE-2019-14232Djangoproject Django
High 7.5 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Aug 2, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 1.11a1 < 1.11.23 |
1.11.23 |
pip install "django>=1.11.23" |
| PyPI | django |
≥ 2.1a1 < 2.1.11 |
2.1.11 |
pip install "django>=2.1.11" |
| PyPI | django |
≥ 2.2a1 < 2.2.4 |
2.2.4 |
pip install "django>=2.2.4" |
| PyPI | django |
≥ 1.11 < 1.11.23 |
1.11.23 |
pip install "django>=1.11.23" |
| PyPI | django |
≥ 2.1 < 2.1.11 |
2.1.11 |
pip install "django>=2.1.11" |
| PyPI | django |
≥ 2.2 < 2.2.4 |
2.2.4 |
pip install "django>=2.2.4" |
Per OSV / GitHub Advisories (GHSA-c4qh-4vgv-qc6g, PYSEC-2019-11). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 1.11 < 1.11.23 |
| djangoproject | django | ≥ 2.1 < 2.1.11 |
| djangoproject | django | ≥ 2.2 < 2.2.4 |
| opensuse | leap | 15.1 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- python313-Django-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11248-1 · Jul 10, 2026 Critical
- python313-Django4-4.2.30-4.1 on GA media · SUSE · openSUSE-SU-2026:11235-1 · Jul 9, 2026 Critical
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org
- www.openwall.com
- www.openwall.com
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- seclists.org
- security.gentoo.org
- security.netapp.com
- www.debian.org
- www.djangoproject.com Vendor Advisory