CVE-2024-41991

python-django: Potential denial-of-service vulnerability in django.utils.html.urlize() and AdminURLFieldWidget

Published Aug 7, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4458-1 python-django security update
Debian DSA Debian DSA DSA-6136-1 python-django security update
Github GHSA Github GHSA GHSA-r836-hh6v-rg5g Django vulnerable to denial-of-service attack
Ubuntu USN Ubuntu USN USN-6946-1 Django vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat discovery
Redhat rhui
CPEs cpe:/a:redhat:rhui:4::el8
cpe:/o:redhat:discovery:1.0::el9
Vendors & Products Redhat discovery
Redhat rhui
Type Values Removed Values Added
First Time appeared Redhat satellite
Redhat satellite Capsule
CPEs cpe:/a:redhat:satellite:6.15::el8
cpe:/a:redhat:satellite_capsule:6.15::el8
Vendors & Products Redhat satellite
Redhat satellite Capsule
Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2.4::el8
cpe:/a:redhat:ansible_automation_platform:2.4::el9
Vendors & Products Redhat
Redhat ansible Automation Platform
Type Values Removed Values Added
CPEs cpe:2.3:a:djangoproject:django:4.2:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:5.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-1284
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title python-django: Potential denial-of-service vulnerability in django.utils.html.urlize() and AdminURLFieldWidget
Weaknesses CWE-400
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Djangoproject
Djangoproject django
Weaknesses CWE-130
CPEs cpe:2.3:a:djangoproject:django:4.2:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:5.0:*:*:*:*:*:*:*
Vendors & Products Djangoproject
Djangoproject django
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 4, 2025, 4:13 PM
Reserved
Jul 25, 2024, 12:00 AM
Status
Modified
Published
Aug 7, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:48 AM
Severity
Moderate
Public date
Aug 6, 2024, 1:00 PM