Vulnerability in Djangoproject Django

CVE-2024-27351

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-servic…

Vulnerability class: ReDoS (Regular Expression Denial of Service)

EPSS: 0.019 (76.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-27351?
CVE-2024-27351 is a medium-severity vulnerability in Djangoproject Django, classified under Inefficient Regular Expression Complexity. CVSS score: 5.3/10. Published 2024-03-15.
How severe is CVE-2024-27351?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2024-27351 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.