- Language: en
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.ImageField as only the last
uploaded file was validated. Unfortunately, Uploading multiple files
topic suggested otherwise.
In order to avoid the vulnerability,
FileInput form widgets now raise
multiple HTML attribute is set on them. To prevent the exception and
keep the old behavior, set
For more details on using the new attribute and handling of multiple files through a single field, see Uploading multiple files.