CVE-2025-26699
JSON

5.0medium

Django Vulnerable to Allocation of Resources Without Limits or Throttling

Severity
5.0medium CVSS:3.1 by mitre
Exploit likelihood
1.39% (higher than 72% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p3fp-8748-vqfqBIT-DJANGO-2025-26699PYSEC-2025-13

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.

Affected

Product or packageVersionsReported by
djangoproject Djangofrom 4.2 before 4.2.20, from 5.0 before 5.0.13, from 5.1 before 5.1.7CVE List, NVD
django (PyPI)from 4.2 before 4.2.20, from 5.0 before 5.0.13, from 5.1 before 5.1.7GitHub Advisory Database, PyPA Advisory Database
debian debian_linux11.0NVD
django (Bitnami)from 4.2.0 before 5.1.7Bitnami Vulnerability Database

All scores

mitre5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
GitHub5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en Django 5.1 anterior a 5.1.7, 5.0 anterior a 5.0.13 y 4.2 anterior a 4.2.20. El método django.utils.text.wrap() y el filtro de plantilla wordwrap están sujetos a un posible ataque de denegación de servicio cuando se utilizan con cadenas muy largas.

References

https://docs.djangoproject.com/en/dev/releases/security/advisory, release-notes, vendor-advisory, web
https://groups.google.com/g/django-announceadvisory, vendor-advisory, web
https://www.djangoproject.com/weblog/2025/mar/06/security-releases/advisory, article, release-notes, vendor-advisory
http://www.openwall.com/lists/oss-security/2025/03/06/12discussion, mailing-list, web
https://lists.debian.org/debian-lts-announce/2025/03/msg00012.htmladvisory, mailing-list, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2025-26699advisory, web
https://github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017web
https://github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841web
https://github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860web
https://docs.djangoproject.com/en/dev/releases/securityweb
https://github.com/django/djangopackage
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2025-26699 changed 2025-03-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-p3fp-8748-vqfq changed 2026-11-04CC-BY-4.0
NVDCVE-2025-26699 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-13 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2025-26699 changed 2026-09-08Apache-2.0