CVE-2025-32873An 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…
- 5.3MediumCVSS base score
- 14.3%Exploitation in 30 daysEPSS · top 3.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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().
Timeline
ID reserved
By mitre
- 27 days later
· 27 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitreCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Analyzed | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 14.3% · top 3.3% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
- affected 4.2 – < 4.2.21
- affected 5.1 – < 5.1.9
- affected 5.2 – < 5.2.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-8j24-cjrq-gr2m (opens in a new tab)
References
References4
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- https://groups.google.com/g/django-announce (opens in a new tab)
- https://www.djangoproject.com/weblog/2025/may/07/security-releases/ (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/05/07/1 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-13952 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8j24-cjrq-gr2m (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-32873)Record last updated .