CVE
CVE-2025-32873
CVE-2025-32873MED 5.3EPSS 97%
CNA 原文 · 原文(英文)
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().
受影响版本
- django≥ 5.2, < 5.2.1修复版本 5.2.1
- django≥ 5.1, < 5.1.9修复版本 5.1.9
- django≥ 4.2, < 4.2.21修复版本 4.2.21
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- docs.djangoproject.com/en/dev/releases/security/ · Release Notes
- www.djangoproject.com/weblog/2025/may/07/security-releases/ · Vendor Advisory
- github.com/advisories/GHSA-8j24-cjrq-gr2m · Third Party Advisory
- osv.dev/vulnerability/GHSA-8j24-cjrq-gr2m · Third Party Advisory
- github.com/django/django/commit/9f3419b519799d69f2aba70b9d25abe2e70d03 · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2025/may/07/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2025-37 · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。