2084AI Security Observatory

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

All Django vulnerabilities →

  • 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

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.