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

*May 3, 2023*

Django 4.1.9 fixes a security issue with severity "low" in 4.1.8.

## CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field

Uploading multiple files using one form field has never been supported by
[`forms.FileField`](/id/5.0/ref/forms/fields/#django.forms.FileField) or [`forms.ImageField`](/id/5.0/ref/forms/fields/#django.forms.ImageField) as only the last
uploaded file was validated. Unfortunately, [Mengunggah banyak berkas](/id/5.0/topics/http/file-uploads/#uploading-multiple-files)
topic suggested otherwise.

In order to avoid the vulnerability, [`ClearableFileInput`](/id/5.0/ref/forms/widgets/#django.forms.ClearableFileInput)
and [`FileInput`](/id/5.0/ref/forms/widgets/#django.forms.FileInput) form widgets now raise `ValueError` when
the `multiple` HTML attribute is set on them. To prevent the exception and
keep the old behavior, set `allow_multiple_selected` to `True`.

For more details on using the new attribute and handling of multiple files
through a single field, see [Mengunggah banyak berkas](/id/5.0/topics/http/file-uploads/#uploading-multiple-files).
