{"cve":"CVE-2025-32873","nvd":{"published":"2025-05-08T04:17:18.157","modified":"2026-06-17T09:12:43.770","status":"Analyzed","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().","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-770"],"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/","http://www.openwall.com/lists/oss-security/2025/05/07/1"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-32873","score":0.1431,"percentile":0.96606,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8j24-cjrq-gr2m","url":"https://osv.dev/vulnerability/GHSA-8j24-cjrq-gr2m","summary":"Django has a denial-of-service possibility in strip_tags()","modified":"2026-09-10T03:50:57.424997922Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.21"],"fixed":["4.2.21"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.9"],"fixed":["5.1.9"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.1"],"fixed":["5.2.1"]}]},{"id":"PYSEC-2025-37","url":"https://osv.dev/vulnerability/PYSEC-2025-37","summary":"","modified":"2026-06-10T17:01:07.572279246Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.21",">=5.1 <5.1.9",">=5.2 <5.2.1"],"fixed":["4.2.21","5.1.9","5.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}