{"title":"Django 4.2.11 release notes","version":"dev","locale":"en","docname":"releases/4.2.11","url":"/en/dev/releases/4.2.11/","canonical":"https://djangodocs.dev/en/dev/releases/4.2.11/","summary":"Django 4.2.11 fixes a security issue with severity “moderate” and a regression in 4.2.10.","html":"<h1>Django 4.2.11 release notes<a class=\"heading-anchor\" href=\"#django-4-2-11-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>March 4, 2024</em></p>\n<p>Django 4.2.11 fixes a security issue with severity “moderate” and a regression\nin 4.2.10.</p>\n<section id=\"cve-2024-27351-potential-regular-expression-denial-of-service-in-django-utils-text-truncator-words\">\n<h2>CVE-2024-27351: Potential regular expression denial-of-service in <code class=\"docutils literal notranslate\">django.utils.text.Truncator.words()</code><a class=\"heading-anchor\" href=\"#cve-2024-27351-potential-regular-expression-denial-of-service-in-django-utils-text-truncator-words\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><code class=\"docutils literal notranslate\">django.utils.text.Truncator.words()</code> method (with <code class=\"docutils literal notranslate\">html=True</code>) and\n<a class=\"reference internal\" href=\"/en/dev/ref/templates/builtins/#std-templatefilter-truncatewords_html\"><code class=\"xref std std-tfilter docutils literal notranslate\">truncatewords_html</code></a> template filter were subject to a potential\nregular expression denial-of-service attack using a suitably crafted string\n(follow up to <span class=\"target\" id=\"index-0\"></span><a class=\"cve reference external\" href=\"https://www.cve.org/CVERecord?id=CVE-2019-14232\"><strong>CVE 2019-14232</strong></a> and <span class=\"target\" id=\"index-1\"></span><a class=\"cve reference external\" href=\"https://www.cve.org/CVERecord?id=CVE-2023-43665\"><strong>CVE 2023-43665</strong></a>).</p>\n</section>\n<section id=\"bugfixes\">\n<h2>Bugfixes<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Fixed a regression in Django 4.2.10 where <code class=\"docutils literal notranslate\">intcomma</code> template filter could\nreturn a leading comma for string representation of floats (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/35172\">#35172</a>).</p></li>\n</ul>\n</section>","rootId":"django-4-2-11-release-notes","toc":[{"title":"CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words()","anchor":"cve-2024-27351-potential-regular-expression-denial-of-service-in-django-utils-text-truncator-words","children":[]},{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.2.12","title":"Django 4.2.12 release notes","url":"/en/dev/releases/4.2.12/"},"next":{"docname":"releases/4.2.10","title":"Django 4.2.10 release notes","url":"/en/dev/releases/4.2.10/"},"formats":{"html":"/en/dev/releases/4.2.11/","markdown":"/en/dev/releases/4.2.11.md","json":"/en/dev/releases/4.2.11.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.2.11.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.2.11/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2"],"inLocales":["en"]}