{"cve":"CVE-2023-31047","nvd":{"published":"2023-05-07T02:15:08.917","modified":"2026-06-17T05:56:10.720","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-20","CWE-862"],"references":["https://docs.djangoproject.com/en/4.2/releases/security/","https://groups.google.com/forum/#%21forum/django-announce","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNEHD6N435OE2XUFGDAAVAXSYWLCUBFD/","https://security.netapp.com/advisory/ntap-20230609-0008/"],"products":["djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:38:18.424950729+00:00"},"epss":{"cve":"CVE-2023-31047","score":0.01391,"percentile":0.72345,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r3xc-prgr-mg9p","url":"https://osv.dev/vulnerability/GHSA-r3xc-prgr-mg9p","summary":"Django bypasses validation when using one form field to upload multiple files","modified":"2025-02-21T05:31:37.748535Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2a1 <3.2.19"],"fixed":["3.2.19"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.0a1 <4.1.9"],"fixed":["4.1.9"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2a1 <4.2.1"],"fixed":["4.2.1"]}]},{"id":"PYSEC-2023-61","url":"https://osv.dev/vulnerability/PYSEC-2023-61","summary":"","modified":"2026-06-10T17:00:52.468237476Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2 <3.2.19",">=4.0 <4.1.9",">=4.2 <4.2.1"],"fixed":["3.2.19","4.1.9","4.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}