CVE-2025-32873

medium
Published 2025-05-08 · Modified 2025-06-18
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v2
VIR risk
5.5

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

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-32873

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-32873.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202505-10

OS impact

OSVersionStatusFixed in
arch archfixed5.1.9-1
suse slesaffected
debian debianbookwormfixed3:3.2.25-0+deb12u1
debian debianbullseyefixed2:2.2.28-1~deb11u7
debian debianforkyfixed3:4.2.21-1
debian debiansidfixed3:4.2.21-1
debian debiantrixiefixed3:4.2.21-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=4.2,<4.2.214.2.21
python PyPIdjango>=5.1,<5.1.95.1.9
python PyPIdjango>=5.2,<5.2.15.2.1

References

Verify integrity in audit chain (admin only). AS-IS.