{"title":"Django 4.2.16 release notes","version":"dev","locale":"en","docname":"releases/4.2.16","url":"/en/dev/releases/4.2.16/","canonical":"https://djangodocs.dev/en/dev/releases/4.2.16/","summary":"Django 4.2.16 fixes one security issue with severity “moderate” and one security issue with severity “low” in 4.2.15.","html":"<h1>Django 4.2.16 release notes<a class=\"heading-anchor\" href=\"#django-4-2-16-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>September 3, 2024</em></p>\n<p>Django 4.2.16 fixes one security issue with severity “moderate” and one\nsecurity issue with severity “low” in 4.2.15.</p>\n<section id=\"cve-2024-45230-potential-denial-of-service-vulnerability-in-django-utils-html-urlize\">\n<h2>CVE-2024-45230: Potential denial-of-service vulnerability in <code class=\"docutils literal notranslate\">django.utils.html.urlize()</code><a class=\"heading-anchor\" href=\"#cve-2024-45230-potential-denial-of-service-vulnerability-in-django-utils-html-urlize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><a class=\"reference internal\" href=\"/en/dev/ref/templates/builtins/#std-templatefilter-urlize\"><code class=\"xref std std-tfilter docutils literal notranslate\">urlize</code></a> and <a class=\"reference internal\" href=\"/en/dev/ref/templates/builtins/#std-templatefilter-urlizetrunc\"><code class=\"xref std std-tfilter docutils literal notranslate\">urlizetrunc</code></a> were subject to a potential\ndenial-of-service attack via very large inputs with a specific sequence of\ncharacters.</p>\n</section>\n<section id=\"cve-2024-45231-potential-user-email-enumeration-via-response-status-on-password-reset\">\n<h2>CVE-2024-45231: Potential user email enumeration via response status on password reset<a class=\"heading-anchor\" href=\"#cve-2024-45231-potential-user-email-enumeration-via-response-status-on-password-reset\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Due to unhandled email sending failures, the\n<a class=\"reference internal\" href=\"/en/dev/topics/auth/default/#django.contrib.auth.forms.PasswordResetForm\" title=\"django.contrib.auth.forms.PasswordResetForm\"><code class=\"xref py py-class docutils literal notranslate\">PasswordResetForm</code></a> class allowed remote\nattackers to enumerate user emails by issuing password reset requests and\nobserving the outcomes.</p>\n<p>To mitigate this risk, exceptions occurring during password reset email sending\nare now handled and logged using the <a class=\"reference internal\" href=\"/en/dev/ref/logging/#django-contrib-auth-logger\"><span class=\"std std-ref\">django.contrib.auth</span></a> logger.</p>\n</section>","rootId":"django-4-2-16-release-notes","toc":[{"title":"CVE-2024-45230: Potential denial-of-service vulnerability in django.utils.html.urlize()","anchor":"cve-2024-45230-potential-denial-of-service-vulnerability-in-django-utils-html-urlize","children":[]},{"title":"CVE-2024-45231: Potential user email enumeration via response status on password reset","anchor":"cve-2024-45231-potential-user-email-enumeration-via-response-status-on-password-reset","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.2.17","title":"Django 4.2.17 release notes","url":"/en/dev/releases/4.2.17/"},"next":{"docname":"releases/4.2.15","title":"Django 4.2.15 release notes","url":"/en/dev/releases/4.2.15/"},"formats":{"html":"/en/dev/releases/4.2.16/","markdown":"/en/dev/releases/4.2.16.md","json":"/en/dev/releases/4.2.16.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.2.16.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.2.16/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2"],"inLocales":["en"]}