Live threats

All CVEs / Djangoproject

CVE-2019-14232Djangoproject Django

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
djangoprojectdjango≥ 1.11 < 1.11.23
djangoprojectdjango≥ 2.1 < 2.1.11
djangoprojectdjango≥ 2.2 < 2.2.4
opensuseleap15.1

Official advisories

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.