{"cve":"CVE-2024-53907","nvd":{"published":"2024-12-06T12:15:17.730","modified":"2026-06-17T08:09:28.707","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.openwall.com/lists/oss-security/2024/12/04/3","https://lists.debian.org/debian-lts-announce/2024/12/msg00028.html"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T21:57:36.180738747+00:00"},"epss":{"cve":"CVE-2024-53907","score":0.01388,"percentile":0.72295,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8498-2h75-472j","url":"https://osv.dev/vulnerability/GHSA-8498-2h75-472j","summary":"Django denial-of-service in django.utils.html.strip_tags()","modified":"2026-09-10T03:50:56.451814675Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1.0 <5.1.4"],"fixed":["5.1.4"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2.0 <4.2.17"],"fixed":["4.2.17"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.0.0 <5.0.10"],"fixed":["5.0.10"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.4"],"fixed":["5.1.4"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.0 <5.0.10"],"fixed":["5.0.10"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.17"],"fixed":["4.2.17"]}]},{"id":"PYSEC-2024-156","url":"https://osv.dev/vulnerability/PYSEC-2024-156","summary":"","modified":"2026-06-10T17:00:52.527504532Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.4",">=5.0 <5.0.10",">=4.2 <4.2.17"],"fixed":["5.1.4","5.0.10","4.2.17"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}