DRUPAL-CORE-2026-009

At a glance

Published
Updated
CVE
CVE-2026-55808
Aliases
BIT-drupal-2026-55808

Description

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.

Affected packages

PackageVersions
Packagist · drupal/coreintroduced 0, fixed 10.5.12 ; introduced 10.6.0, fixed 10.6.11 ; introduced 11.2.0, fixed 11.2.14 ; introduced 11.3.0, fixed 11.3.12 ; introduced 11.0.0, fixed 11.1.0 ; introduced 11.1.0, fixed 11.2.0

References

Sources

SourceLicence
OSV.devSee osv.dev/data for this database's licence