cve.bz

CVE-2024-27351

5.3 mediumEPSS 1.9%

Medium (5.3) in djangoproject django. EPSS 1.9% chance of exploitation in the next 30 days. Fixed in django 3.2.25, 4.2.11, 5.0.3.

In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.9% chance of exploitation in the next 30 days; higher than 79% of CVEs (scores of 2026-11-01)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vm8q-m57g-pff3PyPIdjango>=3.2 <3.2.253.2.25
GHSA-vm8q-m57g-pff3PyPIdjango>=4.2 <4.2.114.2.11
GHSA-vm8q-m57g-pff3PyPIdjango>=5.0 <5.0.35.0.3
PYSEC-2024-47PyPIdjango>=3.2 <3.2.25
>=4.2 <4.2.11
>=5.0 <5.0.3
3.2.25, 4.2.11, 5.0.3

References

Check your stackJSON