CVE-2025-26699: Django Vulnerable to Allocation of Resources Without Limits or Throttling
(updated )
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
- docs.djangoproject.com/en/dev/releases/security
- github.com/advisories/GHSA-p3fp-8748-vqfq
- github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017
- github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841
- github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml
- groups.google.com/g/django-announce
- lists.debian.org/debian-lts-announce/2025/03/msg00012.html
- nvd.nist.gov/vuln/detail/CVE-2025-26699
- www.djangoproject.com/weblog/2025/mar/06/security-releases
Code Behaviors & Features
Detect and mitigate CVE-2025-26699 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →