{"id":"CVE-2025-26699","published":"2025-03-06T00:00:00Z","modified":"2025-03-19T20:03:03Z","title":"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","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0083,"percentile":0.58432,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":[]},{"url":"https://groups.google.com/g/django-announce","tags":[]},{"url":"https://www.djangoproject.com/weblog/2025/mar/06/security-releases/","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/06/12","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":11.69},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 4.2, < 4.2.20",">= 5.0, < 5.0.13",">= 5.1, < 5.1.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-06T20:30:28.270345Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=4.2, <4.2.20",">=5.0, <5.0.13",">=5.1, <5.1.7"],"patched":["4.2.20","5.0.13","5.1.7"],"from":["GHSA-p3fp-8748-vqfq","PYSEC-2025-13"],"provenance":"source"}],"summary":{"text":"The flaw lies in Django's django.utils.text.wrap() method and the wordwrap template filter, which can be exploited for denial of service when they process very long strings, in affected versions of Django 5.1, 5.0 and 4.2 before the fixed releases. An attacker with low-privilege authenticated access over the network, requiring no user interaction, can cause a resource-exhaustion denial of service by supplying very long input to these components, with the impact limited to availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:35Z"},"euvd":{"id":"EUVD-2025-6773","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-53907","published":"2024-12-06","fixed":"5.1.4","kev":false},{"cve":"CVE-2024-53908","published":"2024-12-06","fixed":"5.1.4","kev":false},{"cve":"CVE-2024-56374","published":"2025-01-14","fixed":"5.1.5","kev":false,"link":{"from":"CVE-2024-56374","to":"CVE-2025-26699","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"4.2.18","toFixed":"4.2.20","daysApart":51},{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"5.0.11","toFixed":"5.0.13","daysApart":51}]}},{"cve":"CVE-2025-26699","published":"2025-03-06","fixed":"5.1.7","kev":false},{"cve":"CVE-2025-27556","published":"2025-04-02","fixed":"5.1.8","kev":false,"link":{"from":"CVE-2025-26699","to":"CVE-2025-27556","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"5.0.13","toFixed":"5.0.14","daysApart":27}]}},{"cve":"CVE-2025-32873","published":"2025-05-08","fixed":"5.2.1","kev":false,"link":{"from":"CVE-2025-26699","to":"CVE-2025-32873","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"4.2.20","toFixed":"4.2.21","daysApart":63}]}},{"cve":"CVE-2025-48432","published":"2025-06-05","fixed":"5.2.2","kev":false}],"package":"PyPI:Django"}}