{"id":"CVE-2024-45230","aliases":["CVE-2024-45230","GHSA-5hgc-2vfp-mqvc","BIT-DJANGO-2024-45230","PYSEC-2024-102"],"related":[],"kind":"vulnerability","state":"published","title":"Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters","summary":"An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. 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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en Django 5.1 anterior a 5.1.1, 5.0 anterior a 5.0.9 y 4.2 anterior a 4.2.16. Los filtros de plantilla urlize() y urlizetrunc() están sujetos a un posible ataque de denegación de servicio mediante entradas muy grandes con una secuencia específica de caracteres.","source":"nvd"}],"published":"2024-10-08T00:00:00.000Z","modified":"2026-09-08T08:46:35.599Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-120","CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.1","fixed":"5.1.1","status":"affected"},{"type":"custom","introduced":"5.0","fixed":"5.0.9","status":"affected"},{"type":"custom","introduced":"4.2","fixed":"4.2.16","status":"affected"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.1","status":"affected","fixed":"5.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.16"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.2.16"},{"status":"affected","introduced":"5.0","fixed":"5.0.9"},{"status":"affected","version":"5.1"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"5.1","status":"affected","fixed":"5.1.1"},{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.0.9"},{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.16"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.16"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.9"},{"type":"semver","introduced":"5.1.0","status":"affected","fixed":"5.2.5"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["permissions-required","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases/","tags":["advisory","article","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45230","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/d147a8ebbdf28c17cafbbe2884f0bc57e2bf82e2","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-102.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-5hgc-2vfp-mqvc","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-30T16:30:05.616Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45230","url":"https://www.cve.org/CVERecord?id=CVE-2024-45230","licence":"CVE Terms of Use","modified":"2025-03-17T14:12:05.808Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5hgc-2vfp-mqvc","url":"https://github.com/advisories/GHSA-5hgc-2vfp-mqvc","licence":"CC-BY-4.0","modified":"2024-10-30T19:23:43.662Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45230","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45230","licence":"Public domain","modified":"2026-06-17T07:53:48.757Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-102","url":"https://osv.dev/vulnerability/PYSEC-2024-102","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:52.437Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2024-45230","url":"https://osv.dev/vulnerability/BIT-DJANGO-2024-45230","licence":"Apache-2.0","modified":"2026-09-08T08:46:35.599Z"}],"updatedAt":"2026-11-25T22:58:46.188Z","epss":{"score":0.25773,"percentile":0.98009,"date":"2026-12-01T12:00:22.000Z"}}