Vulnerability · 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.
Published May 8, 2025 · catalog updated May 8, 2025 · Django
Check this week
CVE-2025-32873 is not in CISA KEV. FIRST estimates a 14.31% chance of exploitation in the next 30 days. Check whether you run Django.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium5.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 14.31%
- Remediation
- Version ranges on file
- Affected products
- vendor djangoproject Django 4.2 <4.2.21
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().
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor djangoproject Django 4.2 <4.2.214.2 <4.2.21
How to fix CVE-2025-32873
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-32873 is not in CISA KEV. FIRST estimates a 14.31% chance of exploitation in the next 30 days. Check whether you run Django.
Which versions are affected?
Compare what you have installed with djangoproject Django 4.2 <4.2.21 4.2 <4.2.21. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 14.31%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
May 8, 2025 · EUVD
Updated
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().
Oct 17, 2026 · Arch Linux Security
Detected
CVE-2025-32873 is named on the public Arch Linux Security page.
Sources
- Arch Linux SecurityVendor advisoryCVE-2025-32873
CVE-2025-32873 is named on the public Arch Linux Security page.
security.archlinux.org - CVE.orgVulnerability recordCVE-2025-32873
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-32873
30-day exploitation probability 14.3%
first.org - EUVDVulnerability recordEUVD-2025-13952
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. Th
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.