Advisory record · GHSA-5hgc-2vfp-mqvc

An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via ...

CVSS 7.5 HighCriticalEPSS 0.26 · 98th percentile

Critical, because:

  • CVSS score 7.5 (7.0 or more) and EPSS 0.26 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

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

PackageEcosystemAffectedFixed in
djangoPyPI>=4.2, <4.2.16 || >=5.0, <5.0.9 || >=5.1, <5.1.14.2.16, 5.0.9, 5.1.1
Identifiers
GHSA-5hgc-2vfp-mqvc · BIT-django-2024-45230 · CVE-2024-45230 · PYSEC-2024-102
Weakness (CWE)
CWE-120
Published
8 Oct 2024
Updated
10 Jun 2026

Machine-written summary

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

Django versions 4.2 before 4.2.16, 5.0 before 5.0.9, and 5.1 before 5.1.1 are vulnerable. The urlize() and urlizetrunc() template filters can be driven into a denial-of-service condition when given very large inputs containing a specific sequence of characters. Upgrade to Django 4.2.16, 5.0.9, or 5.1.1, depending on the release line in use.

Written 10 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
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.26, the 98th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 8 Oct 2024. New records show when each source confirmed them.

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.