Vulnerabilities · 2024 · Djangoproject
CVE-2024-53907
Djangoproject Django vulnerability
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
Affected products
Django. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/dev/releases/security/ · Patch
- www.openwall.com/lists/oss-security/2024/12/04/3 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/12/msg00028.html · Third Party Advisory
- groups.google.com/g/django-announce
- nvd.nist.gov/vuln/detail/CVE-2024-53907
- docs.djangoproject.com/en/dev/releases/security
- www.djangoproject.com/weblog/2024/dec/04/security-releases
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-156.yaml
- nvd.nist.gov/vuln/detail/CVE-2024-53907
- cve.org/CVERecord?id=CVE-2024-53907
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.