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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r836-hh6v-rg5g Django vulnerable to denial-of-service attack
Ubuntu USN Ubuntu USN USN-6946-1 Django vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 05 Nov 2025 02:30:00 +0900

Type Values Removed Values Added
References

Thu, 13 Feb 2025 09:45:00 +0900

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

Fri, 11 Oct 2024 23:45:00 +0900

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

Mon, 09 Sep 2024 04:00:00 +0900

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

Tue, 13 Aug 2024 01:30:00 +0900

Type Values Removed Values Added
CPEs cpe:2.3:a:djangoproject:django:4.2:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:5.0:*:*:*:*:*:*:*

Thu, 08 Aug 2024 06:15:00 +0900

Type Values Removed Values Added
Weaknesses CWE-1284
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Thu, 08 Aug 2024 04:30:00 +0900

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


Thu, 08 Aug 2024 03:30:00 +0900

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'}


Wed, 07 Aug 2024 23:30:00 +0900

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-04T16:13:42.653Z

Reserved: 2024-07-25T00:00:00.000Z

Link: CVE-2024-41991

cve-icon Vulnrichment

Updated: 2025-11-04T16:13:42.653Z

cve-icon NVD

Status : Modified

Published: 2024-08-07T15:15:56.160

Modified: 2025-11-04T17:16:03.640

Link: CVE-2024-41991

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-08-06T13:00:00Z

Links: CVE-2024-41991 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses