PyPI/django CVE-2025-32873: unknown, EPSS 14.31%
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 performanc
Action: Upgrade django to 4.2.21 or later.
pip install django==4.2.21pip install django==5.1.9pip install django==5.2.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 4.2 | 4.2.21 | - |
| 5.1 | 5.1.9 | - |
| 5.2 | 5.2.1 | - |
Fixed versions
| 4.2.21 | 5.1.9 | 5.2.1 |
Sources
- osv: PYSEC-2025-37
- https://www.djangoproject.com/weblog/2025/may/07/security-releases/
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/g/django-announce
- http://www.openwall.com/lists/oss-security/2025/05/07/1
- https://github.com/advisories/GHSA-8j24-cjrq-gr2m
CVE-2025-32873 · published · modified · JSON