CVEvulnerability

CVE-2023-31047

9.8 CRITICAL Published 2023-05-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-05-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20, CWE-862

Description

In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.

Affected configurations

• djangoproject django (>= 3.2 < 3.2.19) • djangoproject django (>= 4.0 < 4.1.9) • djangoproject django 4.2 • fedoraproject fedora 38

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-862 Missing Authorization weakness

References