CVE-2024-53907: Django denial-of-service in django.utils.html.strip_tags()
(updated )
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.
References
- docs.djangoproject.com/en/dev/releases/security
- github.com/advisories/GHSA-8498-2h75-472j
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-156.yaml
- groups.google.com/g/django-announce
- lists.debian.org/debian-lts-announce/2024/12/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2024-53907
- www.djangoproject.com/weblog/2024/dec/04/security-releases
- www.openwall.com/lists/oss-security/2024/12/04/3
Detect and mitigate CVE-2024-53907 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →