VDB
Sign up
—

DRUPAL-CORE-2026-009

Quick fix

DRUPAL-CORE-2026-009 — drupal/core: upgrade to the fixed version with the command below.

composer require drupal/core:^10.5.12

Details

The JSON:API and REST modules allow you to upload image files to image fields.

The validation rules check the file extension of the uploaded file but not the file MIME type. This may allow a malicious user to upload a file that is not an image.

Certain web-server configurations may serve the uploaded file with its actual MIME type rather than an image type. This may lead to cross-site scripting (XSS) or other unexpected behavior.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/drupal/core
Introduced in: 0Fixed in: 10.5.12
Fixcomposer require drupal/core:^10.5.12

References