Django denial-of-service in django.utils.html.strip_tags()
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
5.0.10An 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.
From the CVE record · mitre
Django’s strip_tags() method and striptags template filter are vulnerable to a potential denial of service when processing inputs with large sequences of nested incomplete HTML entities. An attacker could cause a denial of service by supplying such input. The input does not specify whether network access, authentication, or user interaction is required.
Check applications running the PyPI django package in the 5.1 series before 5.1.4, the 5.0 series before 5.0.10, or the 4.2 series before 4.2.17.