CVE-2025-32873
Last modified
CVE-2025-32873 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 13.97% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2.0, < 4.2.21 |
| Djangoproject | Django | >= 5.1, < 5.1.9 |
| Djangoproject | Django | 5.2 |
References
- https://groups.google.com/g/django-announceMailing List
- http://www.openwall.com/lists/oss-security/2025/05/07/1Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-32873?
How severe is CVE-2025-32873?
How do I fix CVE-2025-32873?
Are you affected by CVE-2025-32873?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
