{"id":"CVE-2025-32873","aliases":["BIT-django-2025-32873","GHSA-8j24-cjrq-gr2m","PYSEC-2025-37"],"url":"https://o3.security/vulnerability/CVE-2025-32873","summary":"Django has a denial-of-service possibility in strip_tags()","details":"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":"2025-05-08T00:00:00Z","modified":"2026-08-12T03:51:14.194706341Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"4.2.21"},{"ecosystem":"PyPI","name":"django","fixedVersion":"5.1.9"},{"ecosystem":"PyPI","name":"django","fixedVersion":"5.2.1"}],"fix":null,"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/05/07/1"},{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/g/django-announce"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32873.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32873"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2025/may/07/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.194706341Z"}}