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 v4 NEW
โ€”
not yet in upstream
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

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 5.1.9-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 3:4.2.21-1
sid Fixed 3:4.2.21-1
forky Fixed 3:4.2.21-1
bullseye Fixed 2:2.2.28-1~deb11u7
bookworm Fixed 3:3.2.25-0+deb12u1

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

Community-verified mitigations for this CVE will appear above when contributors publish them.

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