CVE
CVE-2024-53907
CVE-2024-53907HIGH 7.5EPSS 73%
CNA 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.
Affected versions
- django≥ 5.1.0, < 5.1.4Fixed in 5.1.4
- django≥ 5.1, < 5.1.4Fixed in 5.1.4
- django≥ 5.0.0, < 5.0.10Fixed in 5.0.10
- django≥ 5.0, < 5.0.10Fixed in 5.0.10
- django≥ 4.2.0, < 4.2.17Fixed in 4.2.17
- django≥ 4.2, < 4.2.17Fixed in 4.2.17
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory
- lists.debian.org/debian-lts-announce/2024/12/msg00028.html · Third Party Advisory
- github.com/advisories/GHSA-8498-2h75-472j · Third Party Advisory
- osv.dev/vulnerability/GHSA-8498-2h75-472j · Third Party Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2024/dec/04/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2024-156 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.