High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-41991
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:25 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-41991
Complete source record
{
"id": "bad74cde9ff17135714a11f917b0caba1e2ab16b40c271bfda33dbfe810952b4",
"url": "https://osv.dev/vulnerability/CVE-2024-41991",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-41991",
"summary": "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.",
"evidence": "osv:CVE-2024-41991",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-41991",
"aliases": [
"BIT-django-2024-41991",
"CVE-2024-41991",
"GHSA-r836-hh6v-rg5g",
"PYSEC-2024-69"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/django/django",
"type": "GIT",
"events": [
{
"introduced": "97aa3b7f08f51669e118f3af5ca91026e39664c3"
},
{
"fixed": "4d32ebcd57340aa8de2d6d31613f1646dc6391f6"
},
{
"introduced": "52821001bb62b764d73e63812133f199b8fef9eb"
},
{
"fixed": "84d1102a8a3bba64bcc1b14a7117c26a83fb7fe5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.15"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"fixed": "5.0.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41991.json"
}
}
],
"modified": "2026-10-28T02:30:32.425898424Z",
"provider": "osv",
"references": [
"https://docs.djangoproject.com/en/dev/releases/security/",
"https://groups.google.com/forum/#%21forum/django-announce",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41991.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-41991",
"https://security.netapp.com/advisory/ntap-20240905-0007/",
"https://www.djangoproject.com/weblog/2024/aug/06/security-releases/"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41991.json"
}
},
"related_cves": [
{
"value": "CVE-2024-41991",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499656,
"published_at": "2024-08-07T00:00:00+00:00"
}