CVE-2024-53907
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Django
PublishedDec 6, 2024
First seenDec 6, 2024
Weakness typeCWE-770Allocation of resources without limits
How to fix
Update
- djangoproject django4.2.17, 5.0.10, 5.1.4 or later
- django5.1.4, 4.2.17, 5.0.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 4.2 ≤ v < 4.2.17, 5.0 ≤ v < 5.0.10, 5.1 ≤ v < 5.1.4 | 4.2.17, 5.0.10, 5.1.4 |
| djangoPyPI | 5.1.0 ≤ v < 5.1.4, 4.2.0 ≤ v < 4.2.17, 5.0.0 ≤ v < 5.0.10, 5.1 ≤ v < 5.1.4, 5.0 ≤ v < 5.0.10, 4.2 ≤ v < 4.2.17 | 5.1.4, 4.2.17, 5.0.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.