Advisory record · GHSA-8j24-cjrq-gr2m

Django has a denial-of-service possibility in strip_tags()

CVSS 5.3 MediumEPSS 0.14 · 96th percentile

Published by the GitHub Advisory Database at 8 May 2025, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djangoPyPI>=4.2, <4.2.21 || >=5.1, <5.1.9 || >=5.2, <5.2.14.2.21, 5.1.9, 5.2.1
Identifiers
GHSA-8j24-cjrq-gr2m · BIT-django-2025-32873 · CVE-2025-32873 · PYSEC-2025-37
Weakness (CWE)
CWE-770
Published
8 May 2025
Updated
10 Sept 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.21, 5.1 before 5.1.9, and 5.2 before 5.2.1 are affected. The strip_tags() function in django.utils.html, and the striptags template filter built on it, can be made to process slowly when given input with large sequences of incomplete HTML tags, causing denial of service. Upgrade to 4.2.21, 5.1.9, or 5.2.1, depending on the release line in use.

Written 4 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:L/PR:N/UI:N/S:U/C:N/I:N/A:L CNA (mitre)
  • CISA KEV Not listed.
  • EPSS 0.14, the 96th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 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.