# CVE-2024-45230: Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 25.8%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-10-08T00:00:00.000Z
- Modified: 2026-09-08T08:46:35.599Z
- Also known as: GHSA-5hgc-2vfp-mqvc, BIT-DJANGO-2024-45230, PYSEC-2024-102
- Weaknesses: CWE-120, CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- djangoproject django: from 5.1 before 5.1.1; from 5.0 before 5.0.9; from 4.2 before 4.2.16; from 4.2.0 before 4.2.16; 5.1
- django (PyPI): from 5.1 before 5.1.1; from 5.0 before 5.0.9; from 4.2 before 4.2.16
- django (Bitnami): from 4.2.0 before 4.2.16; from 5.0.0 before 5.0.9; from 5.1.0 before 5.2.5

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, vendor-advisory, web)
- <https://groups.google.com/forum/#%21forum/django-announce> (permissions-required, web)
- <https://www.djangoproject.com/weblog/2024/sep/03/security-releases/> (advisory, article, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45230> (advisory, web)
- <https://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397> (web)
- <https://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b> (web)
- <https://github.com/django/django/commit/d147a8ebbdf28c17cafbbe2884f0bc57e2bf82e2> (web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-102.yaml> (web)
- <https://www.djangoproject.com/weblog/2024/sep/03/security-releases> (web)
- <https://github.com/advisories/GHSA-5hgc-2vfp-mqvc> (advisory)

## Sources

- CVE List: [CVE-2024-45230](https://www.cve.org/CVERecord?id=CVE-2024-45230), CVE Terms of Use, modified 2025-03-17
- GitHub Advisory Database: [GHSA-5hgc-2vfp-mqvc](https://github.com/advisories/GHSA-5hgc-2vfp-mqvc), CC-BY-4.0, modified 2024-10-30
- NVD: [CVE-2024-45230](https://nvd.nist.gov/vuln/detail/CVE-2024-45230), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-102](https://osv.dev/vulnerability/PYSEC-2024-102), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-DJANGO-2024-45230](https://osv.dev/vulnerability/BIT-DJANGO-2024-45230), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-45230 · Whole record: https://cve.day/CVE-2024-45230.json · Rebuilt by cve.day 2026-11-25T22:58:46.188Z
