Denial-of-Service Flaw in Django by Django Software Foundation
CVE-2025-32873

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
8 May 2025

What is CVE-2025-32873?

A vulnerability exists in Django's html utility functions, specifically django.utils.html.strip_tags(), affecting versions prior to 4.2.21, 5.1.9, and 5.2.1. This flaw can lead to significant performance degradation when processing large sequences of incomplete HTML tags, potentially causing denial-of-service conditions. Additionally, the template filter striptags, which relies on strip_tags(), is also affected, exposing a wider range of applications using these functions to slow response times under certain inputs.

Affected Version(s)

Django 4.2 < 4.2.21

Django 5.1 < 5.1.9

Django 5.2 < 5.2.1

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-32873 : Denial-of-Service Flaw in Django by Django Software Foundation