Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-32873

Fixed in a distro release EPSS 14%CVSS 5.3

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

Published 2025-05-08 · CVE record · OSV

Products: djangoproject django

Fixed upstream

EcosystemPackageFixed in
PyPIdjango4.2.21
PyPIdjango5.1.9
PyPIdjango5.2.1

Distro releases

ReleasePackageFixed in
Arch Linuxpython-django5.1.9-1
Chainguardawx24.6.1-r6
Chainguardgrafana-oncall1.16.1-r0
Chainguardgrafana-oncall-compat1.16.1-r0
Debian 11python-django2:2.2.28-1~deb11u7
Debian 12python-django3:3.2.25-0+deb12u1
Debian 13python-django3:4.2.21-1
Debian 14python-django3:4.2.21-1
SUSE Linux Enterprise Module for Package Hub 15 SP6python-Django4.2.11-150600.3.21.1
SUSE Linux Enterprise Module for Package Hub 15 SP7python-Django4.2.11-150600.3.21.1
Ubuntu 20.04 LTSpython-django2:2.2.12-1ubuntu0.29
Ubuntu 22.04 LTSpython-django2:3.2.12-2ubuntu1.18
Ubuntu 24.04 LTSpython-django3:4.2.11-1ubuntu1.7
Ubuntu 25.10python-django3:4.2.18-1ubuntu1.1
Ubuntu Pro 14.04 LTSpython-djangono fix
Ubuntu Pro 16.04 LTSpython-djangono fix
Ubuntu Pro 18.04 LTSpython-django1:1.11.11-1ubuntu1.21+esm11
Wolfigrafana-oncall1.16.1-r0
Wolfigrafana-oncall-compat1.16.1-r0
openSUSE Leap 15.6python-Django4.2.11-150600.3.21.1
openSUSE Tumbleweedpython-Django5.2.1-1.1
openSUSE Tumbleweedpython-Django44.2.21-1.1
openSUSE Tumbleweedpython-Django55.2.16-1.1
openSUSE Tumbleweedpython-Django66.0-1.1