Vulnerabilities

CVE-2024-53907

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-12-06
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
1.4 % higher than 70 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
django (PyPI) ≥ 4.2, < 4.2.17 Affected
django (PyPI) ≥ 4.2.0, < 4.2.17 Affected
django (PyPI) ≥ 5.0, < 5.0.10 Affected
django (PyPI) ≥ 5.0.0, < 5.0.10 Affected
django (PyPI) ≥ 5.1, < 5.1.4 Affected
django (PyPI) ≥ 5.1.0, < 5.1.4 Affected
Djangoproject Django ≥ 4.2, < 4.2.17 Affected
Djangoproject Django ≥ 5.0, < 5.0.10 Affected
Djangoproject Django ≥ 5.1, < 5.1.4 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1498.001: Direct Network Flood impact
  • T1498.002: Reflection Amplification impact
  • T1499: Endpoint Denial of Service impact
  • T1499.001: OS Exhaustion Flood impact
  • T1499.002: Service Exhaustion Flood impact
  • T1499.003: Application Exhaustion Flood impact

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities