Resource exhaustion in Djangoproject Django
CVE-2025-32873
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 · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.143, 96.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django — versions 4.2, 5.1, 5.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Apollo-R3bot/django-vulnerability-CVE-2025-32873 (last pushed 2025-06-03): Django Security Issue (CVE-2025-32873)
Also mentioned in 4 other repositories (11notes/docker-paperless-ngx, nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.djangoproject.com/en/dev/releases/security/ (Release Notes)
- groups.google.com/g/django-announce (Mailing List)
- www.djangoproject.com/weblog/2025/may/07/security-releases/ (Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/05/07/1 (Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.