---
title: "Django 1.11.15 版本发行说明"
version: 4.1
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/4.1/releases/1.11.15/
canonical: https://djangodocs.dev/zh-hans/4.1/releases/1.11.15/
---
# Django 1.11.15 版本发行说明

*2018 年 8 月 1 日*

Django 1.11.15 修复了 1.11.14 中的一个安全问题。

## CVE-2018-14574: Open redirect possibility in `CommonMiddleware`

If the [`CommonMiddleware`](/zh-hans/4.1/ref/middleware/#django.middleware.common.CommonMiddleware) and the
[`APPEND_SLASH`](/zh-hans/4.1/ref/settings/#std-setting-APPEND_SLASH) setting are both enabled, and if the project has a
URL pattern that accepts any path ending in a slash (many content management
systems have such a pattern), then a request to a maliciously crafted URL of
that site could lead to a redirect to another site, enabling phishing and other
attacks.

`CommonMiddleware` now escapes leading slashes to prevent redirects to other
domains.
