Skip to main content
MEDIUM

CVE-2025-32873

CVSS v3

5.3

MEDIUM

EPSS Score

14.2 %

exploit probability, as of 2026-10-12

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for django. Watch django in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • djangoPyPIfrom 4.2 · fixed in 4.2.21
  • djangoBitnamifrom 4.2.0 · fixed in 4.2.21

Vendor advisories

  • CVE-2025-32873 Red Hat Product Security24 known affected

    django: Django StripTags Denial of Service

    ansible-automation-platform-24/ee-dellemc-openmanage-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-24/lightspeed-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-24/platform-resource-runner-rhel8 as a component of Red Hat Ansible Automation Platform 2

Full record on NVD

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

Technical details

Published
2025-05-08

Frequently asked questions

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

Is CVE-2025-32873 actively exploited?

Active exploitation of CVE-2025-32873 has not been confirmed. Its EPSS score was 14.2% on 2026-10-12, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-32873?

CVE-2025-32873 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Running django? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE Watch

No credit card required · 50 free checks/month · Free API key