ADVISORIES

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. 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().

19 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALPINE-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. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing…

    CVE-2025-32873 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2025-32873
    CVE-2025-32873 Alpine Updated 18 November 2026
  • CGA-mv63-j9xw-q75p
    CVE-2025-32873 Chainguard Updated 5 November 2026
  • CGA-wwcc-hmvv-cw2j
    CVE-2025-32873 Chainguard Updated 5 November 2026
  • DEBIAN-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. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing…

    CVE-2025-32873 Debian Updated 1 September 2026
  • DLA-4210-1

    python-django - security update

    CVE-2023-41164CVE-2023-43665CVE-2024-24680CVE-2024-27351 Debian Updated 20 November 2026
  • DSA-6136-1

    python-django - security update

    CVE-2019-14232CVE-2023-41164CVE-2023-43665CVE-2024-24680 Debian Updated 20 November 2026
  • GHSA-8j24-cjrq-gr2m

    Django has a denial-of-service possibility in strip_tags()

    Moderate CVE-2025-32873 PyPI Updated 10 September 2026
  • OESA-2025-1524

    python-django security update

    Medium CVE-2025-32873 openEuler Updated 18 August 2026
  • PYSEC-2025-37

    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…

    CVE-2025-32873 PyPI Updated 10 June 2026
  • SUSE-SU-2025:01523-1

    Security update for python-Django

    CVE-2025-32873 SUSE Updated 4 February 2026
  • SUSE-SU-2025:1523-1

    Security update for python-Django

    CVE-2025-32873 SUSEopenSUSE Updated 23 March 2026
  • UBUNTU-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. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing…

    CVE-2025-32873 Ubuntu Updated 1 October 2026
  • USN-7501-1

    python-django vulnerability

    CVE-2025-32873 Ubuntu Updated 27 April 2026
  • USN-7501-2

    python-django vulnerability

    CVE-2025-32873 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2025:15082-1

    python311-Django4-4.2.21-1.1 on GA media

    CVE-2025-32873 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15087-1

    python311-Django-5.2.1-1.1 on GA media

    CVE-2025-32873 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References