MEDIUM · CVSS 5.3 Published: 2025-05-08
CVE-2025-32873 — Technical Security Advisory & CVSS Profile
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().
Technical Metadata
| Identifier | CVE-2025-32873 |
|---|---|
| Base Severity / Score | MEDIUM (5.3 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Weakness Classification | CWE-770 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2025/may/07/security-releases/
Related Security Advisories
CVE-2025-32872 HIGH 8.8
CVE-2025-32876 MEDIUM 6.8
CVE-2025-32881 MEDIUM 4.3
CVE-2025-32882 MEDIUM 5.3
CVE-2025-32884 MEDIUM 4.3
CVE-2025-32885 MEDIUM 6.5
CVE-2025-32886 MEDIUM 4