{"schema_version":"1.9.0","id":"CVE-2024-53907","published":"2024-12-06T00:00:00Z","modified":"2026-08-12T03:51:38.160046278Z","aliases":["BIT-django-2024-53907","GHSA-8498-2h75-472j","PYSEC-2024-156"],"related":["CGA-8q46-m868-v52m","SUSE-SU-2024:4285-1","openSUSE-SU-2024:0408-1","openSUSE-SU-2024:14565-1","openSUSE-SU-2024:14568-1","openSUSE-SU-2026:10005-1","openSUSE-SU-2026:11270-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"97aa3b7f08f51669e118f3af5ca91026e39664c3"},{"fixed":"1f0356ff2af11a5fa71fb07b4627e10edd170438"},{"introduced":"52821001bb62b764d73e63812133f199b8fef9eb"},{"fixed":"3b3a5f4efbf93692557b7f473519bd0ad8f04c6a"},{"introduced":"84d09a547fe35e10018ab242602ca76c29ca91a1"},{"fixed":"2d4add11fd57b05f7ea48e8b3e89e743c9871aa3"}],"database_specific":{"cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.2"},{"fixed":"4.2.17"},{"introduced":"5.0"},{"fixed":"5.0.10"},{"introduced":"5.1"},{"fixed":"5.1.4"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53907.json"}}],"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/g/django-announce"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00028.html"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2024/12/04/3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53907.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53907"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53907.json","unresolved_ranges":[{"extracted_events":[{"introduced":"5.1"},{"fixed":"5.1.4"},{"introduced":"5.0"},{"fixed":"5.0.10"},{"introduced":"4.2"},{"fixed":"4.2.17"}],"source":"DESCRIPTION"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}