CVE-2024-41990

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

Published Aug 7, 2024 CVSS 3.1 · 7.5 High EPSS 1.3% 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 are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-795c-9xpc-xw6g Django vulnerable to a denial-of-service attack
Ubuntu USN Ubuntu USN USN-6946-1 Django vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:4::el8
Vendors & Products Redhat rhui
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-400
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
Weaknesses NVD-CWE-noinfo
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()
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 are subject to a potential denial-of-service attack via very large inputs with a specific sequence of 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