Advisory

DRUPAL-CORE-2026-009

Also known as: BIT-drupal-2026-55808, CVE-2026-55808

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2026-06-17 18:58 UTC
Modified
2026-09-10 03:45 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 0, fixed 10.5.12 (ecosystem)
  • introduced 10.6.0, fixed 10.6.11 (ecosystem)
  • introduced 11.2.0, fixed 11.2.14 (ecosystem)
  • introduced 11.3.0, fixed 11.3.12 (ecosystem)
  • introduced 11.0.0, fixed 11.1.0 (ecosystem)
  • introduced 11.1.0, fixed 11.2.0 (ecosystem)

Fixed versions

10.5.12, 10.6.11, 11.2.14, 11.3.12, 11.1.0, 11.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences