CVE-2025-32873CWE-770

An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1

Medium · published May 8, 2025

CVSS v3.1
5.3
EPSS
14%
Percentile
96.6
In the wild
Unconfirmed
What it is

An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing inputs containing large sequences of incomplete HTML tags. The template filter striptags is also vulnerable, because it is built on top of strip_tags().

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.14310 · 96.6th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-05-08T00:00Z
EPSS history
Timeline
  • 08 MAY 00:00Z
    An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1
    cvelistv5