ADVISORIES

openEuler Security Advisory

OESA-2025-1524

python-django security update

Details

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Security Fix(es):

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().(CVE-2025-32873)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTS-SP1python-django
All versions before 4.2.15-6.oe2403sp1 (fixed in 4.2.15-6.oe2403sp1)
openEuler:20.03-LTS-SP4python-django
All versions before 2.2.27-16.oe2003sp4 (fixed in 2.2.27-16.oe2003sp4)
openEuler:22.03-LTS-SP3python-django
All versions before 4.2.15-6.oe2203sp3 (fixed in 4.2.15-6.oe2203sp3)
openEuler:22.03-LTS-SP4python-django
All versions before 4.2.15-6.oe2203sp4 (fixed in 4.2.15-6.oe2203sp4)
openEuler:24.03-LTSpython-django
All versions before 4.2.15-6.oe2403 (fixed in 4.2.15-6.oe2403)

References