---
title: "Django 4.0.7 release notes"
version: 5.2
locale: id
source: https://docs.djangoproject.com/id/5.2/releases/4.0.7/
canonical: https://djangodocs.dev/id/5.2/releases/4.0.7/
---
# Django 4.0.7 release notes

*August 3, 2022*

Django 4.0.7 fixes a security issue with severity "high" in 4.0.6.

## CVE-2022-36359: Potential reflected file download vulnerability in `FileResponse`

An application may have been vulnerable to a reflected file download (RFD)
attack that sets the Content-Disposition header of a
[`FileResponse`](/id/5.2/ref/request-response/#django.http.FileResponse) when the `filename` was derived from
user-supplied input. The `filename` is now escaped to avoid this possibility.
