ADVISORIES

GitHub Advisory Database

GHSA-v8wr-r69p-mmwx

Unrestricted Upload of File with Dangerous Type in Drupal core

Details

Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.

Affected packages

EcosystemPackageAffected versions
Packagistdrupal/core
From 8.0.0 before 8.9.19 (fixed in 8.9.19)
Packagistdrupal/core
From 9.1.0 before 9.1.13 (fixed in 9.1.13)
Packagistdrupal/core
From 9.2.0 before 9.2.6 (fixed in 9.2.6)

References