CVE-2024-41991

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

History

04 Nov 2025, 17:16

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240905-0007/ -
Summary
  • (es) Se descubrió un problema en Django 5.0 anterior a 5.0.8 y 4.2 anterior a 4.2.15. Los filtros de plantilla urlize y urlizetrunc, y el widget AdminURLFieldWidget, están sujetos a un posible ataque de denegación de servicio a través de ciertas entradas con una gran cantidad de caracteres Unicode.

07 Aug 2024, 20:48

Type Values Removed Values Added
CPE cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
References () https://docs.djangoproject.com/en/dev/releases/security/ - () https://docs.djangoproject.com/en/dev/releases/security/ - Patch, Vendor Advisory
References () https://groups.google.com/forum/#%21forum/django-announce - () https://groups.google.com/forum/#%21forum/django-announce - Not Applicable
References () https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ - () https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ - Vendor Advisory
CWE CWE-1284
First Time Djangoproject
Djangoproject django

07 Aug 2024, 18:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-130

07 Aug 2024, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-07 15:15

Updated : 2025-11-04 17:16


NVD link : CVE-2024-41991

Mitre link : CVE-2024-41991

CVE.ORG link : CVE-2024-41991


JSON object : View

Products Affected

djangoproject

  • django
CWE
CWE-1284

Improper Validation of Specified Quantity in Input

CWE-130

Improper Handling of Length Parameter Inconsistency