Findings

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.

Published May 8, 2025 · corrected/updated May 8, 2025 · djangoproject Django · evidence confidence high

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

Grounded briefings

Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.

Executive

CVE-2025-32873 is a medium public vulnerability record for djangoproject Django. It is not currently listed in the CISA Known Exploited catalog. Check the linked vendor or CERT advisories for patch status. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.

System administrator

Identify whether djangoproject Django is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: djangoproject Django 4.2 <4.2.21 (4.2 <4.2.21). Check the linked vendor or CERT advisories for patch status. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.

Security analyst

Signals on file: CVSS 5.3, EPSS 1431.0%. It is not currently listed in the CISA Known Exploited catalog. Sources contributing to this record: arch, cve_org, euvd. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.

Exploitation and remediation

  • Exploitation evidence

    Not listed as known exploited in CISA KEV. Not in CISA KEV or VulnCheck KEV.

  • Patch and remediation

    No required-action text is stored yet. Use the vendor or CERT links in Sources for patch availability.

  • Safe detection guidance

    Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. May 8, 2025 · EUVD

    Updated

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

  2. Oct 17, 2026 · Arch Linux Security

    Detected

    CVE-2025-32873 is named on the public Arch Linux Security page.

Affected

  • vendor djangoproject Django 4.2 <4.2.214.2 <4.2.21

Sources

  • Arch Linux SecurityVendor advisoryCVE-2025-32873

    CVE-2025-32873 is named on the public Arch Linux Security page.

    security.archlinux.org
  • CVE.orgVulnerability recordCVE-2025-32873

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-13952

    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. Th

    euvd.enisa.europa.eu

References