{"schema_version":"1.9.0","id":"BIT-django-2025-32873","published":"2025-06-18T14:40:22.794Z","modified":"2026-09-08T08:46:32.842387435Z","aliases":["CVE-2025-32873","GHSA-8j24-cjrq-gr2m","PYSEC-2025-37"],"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().","affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.2.0"},{"fixed":"4.2.21"},{"introduced":"5.1.0"},{"fixed":"5.1.9"},{"introduced":"5.2.0"},{"fixed":"5.2.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2025-32873.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2025/05/07/1"},{"type":"ARTICLE","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"DISCUSSION","url":"https://groups.google.com/g/django-announce"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32873"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2025/may/07/security-releases/"}],"database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"],"severity":"Medium"}}