Django denial-of-service in django.utils.html.strip_tags()
Moderate severity
GitHub Reviewed
Published
Dec 6, 2024
to the GitHub Advisory Database
•
Updated Dec 6, 2024
Package
Affected versions
>= 5.1.0, < 5.1.4
>= 4.2.0, < 4.2.17
>= 5.0.0, < 5.0.10
Patched versions
5.1.4
4.2.17
5.0.10
Description
Published by the National Vulnerability Database
Dec 6, 2024
Published to the GitHub Advisory Database
Dec 6, 2024
Reviewed
Dec 6, 2024
Last updated
Dec 6, 2024
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.
References