{"title":"Django 4.2.20 release notes","version":"dev","locale":"en","docname":"releases/4.2.20","url":"/en/dev/releases/4.2.20/","canonical":"https://djangodocs.dev/en/dev/releases/4.2.20/","summary":"Django 4.2.20 fixes a security issue with severity “moderate” in 4.2.19. The wrap() and wordwrap template filter were subject to a potential…","html":"<h1>Django 4.2.20 release notes<a class=\"heading-anchor\" href=\"#django-4-2-20-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>March 6, 2025</em></p>\n<p>Django 4.2.20 fixes a security issue with severity “moderate” in 4.2.19.</p>\n<section id=\"cve-2025-26699-potential-denial-of-service-vulnerability-in-django-utils-text-wrap\">\n<h2>CVE-2025-26699: Potential denial-of-service vulnerability in <code class=\"docutils literal notranslate\">django.utils.text.wrap()</code><a class=\"heading-anchor\" href=\"#cve-2025-26699-potential-denial-of-service-vulnerability-in-django-utils-text-wrap\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>The <code class=\"docutils literal notranslate\">wrap()</code> and <a class=\"reference internal\" href=\"/en/dev/ref/templates/builtins/#std-templatefilter-wordwrap\"><code class=\"xref std std-tfilter docutils literal notranslate\">wordwrap</code></a> template filter were subject to a\npotential denial-of-service attack when used with very long strings.</p>\n</section>","rootId":"django-4-2-20-release-notes","toc":[{"title":"CVE-2025-26699: Potential denial-of-service vulnerability in django.utils.text.wrap()","anchor":"cve-2025-26699-potential-denial-of-service-vulnerability-in-django-utils-text-wrap","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.2.21","title":"Django 4.2.21 release notes","url":"/en/dev/releases/4.2.21/"},"next":{"docname":"releases/4.2.19","title":"Django 4.2.19 release notes","url":"/en/dev/releases/4.2.19/"},"formats":{"html":"/en/dev/releases/4.2.20/","markdown":"/en/dev/releases/4.2.20.md","json":"/en/dev/releases/4.2.20.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.2.20.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.2.20/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2"],"inLocales":["en"]}