Advisory record · GHSA-vm8q-m57g-pff3

Regular expression denial-of-service in Django

CVSS 5.3 MediumEPSS 0.019 · 79th percentile

Published by the GitHub Advisory Database at 15 Mar 2024, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djangoPyPI>=3.2, <3.2.25 || >=4.2, <4.2.11 || >=5.0, <5.0.33.2.25, 4.2.11, 5.0.3
Identifiers
GHSA-vm8q-m57g-pff3 · BIT-django-2024-27351 · CVE-2024-27351 · PYSEC-2024-47
Weakness (CWE)
CWE-1333
Published
15 Mar 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Django versions 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3 are vulnerable to a regular expression denial-of-service. The Truncator.words() method with html=True and the truncatewords_html template filter can be slowed down by a crafted string. Upgrade to Django 3.2.25, 4.2.11, 5.0.3 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.019, the 79th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.