{"title":"Django 1.11.15 release notes","version":"dev","locale":"en","docname":"releases/1.11.15","url":"/en/dev/releases/1.11.15/","canonical":"https://djangodocs.dev/en/dev/releases/1.11.15/","summary":"Django 1.11.15 fixes a security issue in 1.11.14. If the CommonMiddleware and the APPEND_SLASH setting are both enabled, and if the project has a URL…","html":"<h1>Django 1.11.15 release notes<a class=\"heading-anchor\" href=\"#django-1-11-15-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>August 1, 2018</em></p>\n<p>Django 1.11.15 fixes a security issue in 1.11.14.</p>\n<section id=\"cve-2018-14574-open-redirect-possibility-in-commonmiddleware\">\n<h2>CVE-2018-14574: Open redirect possibility in <code class=\"docutils literal notranslate\">CommonMiddleware</code><a class=\"heading-anchor\" href=\"#cve-2018-14574-open-redirect-possibility-in-commonmiddleware\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>If the <a class=\"reference internal\" href=\"/en/dev/ref/middleware/#django.middleware.common.CommonMiddleware\" title=\"django.middleware.common.CommonMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">CommonMiddleware</code></a> and the\n<a class=\"reference internal\" href=\"/en/dev/ref/settings/#std-setting-APPEND_SLASH\"><code class=\"xref std std-setting docutils literal notranslate\">APPEND_SLASH</code></a> setting are both enabled, and if the project has a\nURL pattern that accepts any path ending in a slash (many content management\nsystems have such a pattern), then a request to a maliciously crafted URL of\nthat site could lead to a redirect to another site, enabling phishing and other\nattacks.</p>\n<p><code class=\"docutils literal notranslate\">CommonMiddleware</code> now escapes leading slashes to prevent redirects to other\ndomains.</p>\n</section>","rootId":"django-1-11-15-release-notes","toc":[{"title":"CVE-2018-14574: Open redirect possibility in CommonMiddleware","anchor":"cve-2018-14574-open-redirect-possibility-in-commonmiddleware","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.11.16","title":"Django 1.11.16 release notes","url":"/en/dev/releases/1.11.16/"},"next":{"docname":"releases/1.11.14","title":"Django 1.11.14 release notes","url":"/en/dev/releases/1.11.14/"},"formats":{"html":"/en/dev/releases/1.11.15/","markdown":"/en/dev/releases/1.11.15.md","json":"/en/dev/releases/1.11.15.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.11.15.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.11.15/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11"],"inLocales":["en"]}