cve.bz

CVE-2019-14232

7.5 highEPSS 3.5%

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.5% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)
CWE
CWE-400
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c4qh-4vgv-qc6gPyPIdjango>=1.11a1 <1.11.231.11.23
GHSA-c4qh-4vgv-qc6gPyPIdjango>=2.1a1 <2.1.112.1.11
GHSA-c4qh-4vgv-qc6gPyPIdjango>=2.2a1 <2.2.42.2.4
PYSEC-2019-11PyPIdjango>=1.11 <1.11.23
>=2.1 <2.1.11
>=2.2 <2.2.4
1.11.23, 2.1.11, 2.2.4

References

Check your stackJSON