{"title":"Django 3.2.12 release notes","version":"dev","locale":"en","docname":"releases/3.2.12","url":"/en/dev/releases/3.2.12/","canonical":"https://djangodocs.dev/en/dev/releases/3.2.12/","summary":"Django 3.2.12 fixes two security issues with severity “medium” in 3.2.11. The {% debug %} template tag didn’t properly encode the current context, posing an…","html":"<h1>Django 3.2.12 release notes<a class=\"heading-anchor\" href=\"#django-3-2-12-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>February 1, 2022</em></p>\n<p>Django 3.2.12 fixes two security issues with severity “medium” in 3.2.11.</p>\n<section id=\"cve-2022-22818-possible-xss-via-debug-template-tag\">\n<h2>CVE-2022-22818: Possible XSS via <code class=\"docutils literal notranslate\">{% debug %}</code> template tag<a class=\"heading-anchor\" href=\"#cve-2022-22818-possible-xss-via-debug-template-tag\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>The <code class=\"docutils literal notranslate\">{% debug %}</code> template tag didn’t properly encode the current context,\nposing an XSS attack vector.</p>\n<p>In order to avoid this vulnerability, <code class=\"docutils literal notranslate\">{% debug %}</code> no longer outputs\ninformation when the <code class=\"docutils literal notranslate\">DEBUG</code> setting is <code class=\"docutils literal notranslate\">False</code>, and it ensures all context\nvariables are correctly escaped when the <code class=\"docutils literal notranslate\">DEBUG</code> setting is <code class=\"docutils literal notranslate\">True</code>.</p>\n</section>\n<section id=\"cve-2022-23833-denial-of-service-possibility-in-file-uploads\">\n<h2>CVE-2022-23833: Denial-of-service possibility in file uploads<a class=\"heading-anchor\" href=\"#cve-2022-23833-denial-of-service-possibility-in-file-uploads\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Passing certain inputs to multipart forms could result in an infinite loop when\nparsing files.</p>\n</section>","rootId":"django-3-2-12-release-notes","toc":[{"title":"CVE-2022-22818: Possible XSS via {% debug %} template tag","anchor":"cve-2022-22818-possible-xss-via-debug-template-tag","children":[]},{"title":"CVE-2022-23833: Denial-of-service possibility in file uploads","anchor":"cve-2022-23833-denial-of-service-possibility-in-file-uploads","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/3.2.13","title":"Django 3.2.13 release notes","url":"/en/dev/releases/3.2.13/"},"next":{"docname":"releases/3.2.11","title":"Django 3.2.11 release notes","url":"/en/dev/releases/3.2.11/"},"formats":{"html":"/en/dev/releases/3.2.12/","markdown":"/en/dev/releases/3.2.12.md","json":"/en/dev/releases/3.2.12.json"},"source":"https://github.com/django/django/blob/main/docs/releases/3.2.12.txt","official":"https://docs.djangoproject.com/en/dev/releases/3.2.12/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2"],"inLocales":["en"]}