Feed
5.3MEDIUM

CVE-2024-27351Regular expression denial-of-service in Django

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
2.4%
percentile 84%
Priority
20/100 low
how it is computed
Fix
Named by a source
CVE published 15 Mar 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 3.2, < 3.2.25Fixed in3.2.25OSV (PYSEC-2024-47)
    • Affected>= 4.2, < 4.2.11Fixed in4.2.11OSV (PYSEC-2024-47)
    • Affected>= 5.0, < 5.0.3Fixed in5.0.3OSV (PYSEC-2024-47)

Confirmed facts

CVSS
5.3 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-vm8q-m57g-pff3)
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
required
Weakness
CWE-1333

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 18 Nov 2025Exploitation more likely 1.9% → 30.5%
  • 7 Apr 2025Exploitation more likely 1.2% → 14.8%
  • 3 Apr 2025Exploitation more likely 2.9% → 14.8%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 49 min ago · osv 49 min ago · nvd 49 min ago · epss 48 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2024-27351, GHSA-vm8q-m57g-pff3, PYSEC-2024-47