Vulnerability advisory
GHSA-p3fp-8748-vqfq
Django Vulnerable to Allocation of Resources Without Limits or Throttling
Also known as BIT-django-2025-26699CVE-2025-26699PYSEC-2025-13
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
Affected versions
| Affected | Fixed in |
|---|---|
4.2 to before 4.2.20 | 4.2.20Advisories → |
5.0 to before 5.0.13 | 5.0.13Advisories → |
5.1 to before 5.1.7 | 5.1.7Advisories → |
Description
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-26699 ↗
- Webgithub.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017 ↗
- Webgithub.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841 ↗
- Webgithub.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860 ↗
- Webdocs.djangoproject.com/en/dev/releases/security ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml ↗
- Webgroups.google.com/g/django-announce ↗
- Weblists.debian.org/debian-lts-announce/2025/03/msg00012.html ↗
- Webwww.djangoproject.com/weblog/2025/mar/06/security-releases ↗
- Webwww.openwall.com/lists/oss-security/2025/03/06/12 ↗