VDB

CVE-2024-53907

CVE-2024-53907 PUBLISHED CVSS 8.699999809265137 HIGH

Django denial-of-service in django.utils.html.strip_tags()

Reported by mitre · Published December 6, 2024

django is fixed in 5.1.4, 5.0.10 and 4.2.17 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI5.1.4, 5.0.10, 4.2.17
awxChainguard24.6.1-r2
py3-djangoWolfi5.1.4-r0
djangoBitnami5.1.4, 4.2.17
py3-djangoAlpine4.2.20-r0
djangoBitnami5.1.4, 4.2.17
djangodjangoproject5.1.4, 5.0.10, 4.2.17

Risk scores

CVSS 4.0
8.699999809265137
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
n/an/an/a
PyPIDjango5.0.0, 4.2.0, 5.1.0
chainguardawx0
wolfipy3-django0
alpinepy3-django0
djangoprojectdjango
n/an/a*
djangoprojectdjango4.2, 5.0, 5.1
chainguardpy3-django0

Timeline

  • Dec 4, 2024 CVE Published
  • Dec 7, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 31, 2024 Coalition ESS Score (18 in total, the first dated here)
  • Dec 31, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (17 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-53907
vulnetix vdb fixes CVE-2024-53907

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53907/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›