2084AI Security Observatory

CVE

CVE-2025-32873

CVE-2025-32873MED 5.3EPSS 97%

CNA description

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

Affected versions

All Django vulnerabilities →

  • django≥ 5.2, < 5.2.1Fixed in 5.2.1
  • django≥ 5.1, < 5.1.9Fixed in 5.1.9
  • django≥ 4.2, < 4.2.21Fixed in 4.2.21

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.