NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-26699: Django Vulnerable to Allocation of Resources Without Limits or Throttling

mediumCVSS 3.1 5.0GHSA-p3fp-8748-vqfq

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.

Published Mar 6, 2025 · Updated Nov 4, 2026

Affected packages

Django

Ecosystem
PyPI
Affected
>= 4.2, < 4.2.20
Fixed in
4.2.20
Check
pip show Django

Django

Ecosystem
PyPI
Affected
>= 5.0, < 5.0.13
Fixed in
5.0.13
Check
pip show Django

Django

Ecosystem
PyPI
Affected
>= 5.1, < 5.1.7
Fixed in
5.1.7
Check
pip show Django

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Cao150702.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries