Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions 4.2 before 4.2.20, 5.0 before 5.0.13, and 5.1 before 5.1.7 are vulnerable. The django.utils.text.wrap() method and the wordwrap template filter can be driven into a denial-of-service condition when given very long strings. Upgrade to Django 4.2.20, 5.0.13, 5.1.7, or later. The source gives few details on the exact attack conditions.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.0 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L | CNA (mitre) |
- CISA KEV Not listed.
- EPSS 0.0083, the 58th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 6 Mar 2025, 21:31 UTC Confirmed by GitHub Advisory Database
- 31 Oct 2026, 14:37 UTC First seen by agentprime
- 31 Oct 2026, 14:37 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-p3fp-8748-vqfq
- OSV: GHSA-p3fp-8748-vqfq
- nvd.nist.gov/vuln/detail/CVE-2025-26699
- github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017
- github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841
- github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- 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
- www.djangoproject.com/weblog/2025/mar/06/security-releases
- www.openwall.com/lists/oss-security/2025/03/06/12