VDB

PYSEC-2025-37

PYSEC-2025-37 PUBLISHED CVSS 8.699999809265137 HIGH

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().

Risk Scores

CVSS v4.0
8.699999809265137
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected Products

VendorProductVersions
PyPIdjango5.1, 4.2, 4.2.1

Timeline

  • May 8, 2025 CVE Published
  • Jun 18, 2025 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›