CVE-2025-32873 – django
Package
Manager: pip
Name: django
Vulnerable Version: >=4.2 <4.2.21 || >=5.1 <5.1.9 || >=5.2 <5.2.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00025 pctl0.05173
Details
Django has a denial-of-service possibility in strip_tags() 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().
Metadata
Created: 2025-05-08T06:30:33Z
Modified: 2025-05-08T14:53:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-8j24-cjrq-gr2m/GHSA-8j24-cjrq-gr2m.json
CWE IDs: ["CWE-770"]
Alternative ID: GHSA-8j24-cjrq-gr2m
Finding: F211
Auto approve: 1