CVE-2024-27351

5.3 MEDIUM
Published: March 15, 2024 Modified: November 04, 2025

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://docs.djangoproject.com/en/5.0/releases/security/
Source: cve@mitre.org
Release Notes Vendor Advisory
https://groups.google.com/forum/#%21forum/django-announce
Source: cve@mitre.org
Permissions Required
http://www.openwall.com/lists/oss-security/2024/03/04/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
https://docs.djangoproject.com/en/5.0/releases/security/
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
https://groups.google.com/forum/#%21forum/django-announce
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required
https://www.djangoproject.com/weblog/2024/mar/04/security-releases/
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

20 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.3 / 10.0
EPSS (Exploit Probability)
1.9%
83th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

djangoproject