ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-065

Details

The Canvas AI submodule allows you to upload image files via a custom API to use within the AI web chat.

These file uploads are insufficiently validated before being written to Drupal's temporary directory. In some cases, this may lead to cross-site scripting (XSS).

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/canvas
All versions before 1.4.2 (fixed in 1.4.2)
From 1.5.0 before 1.5.2 (fixed in 1.5.2)
From 1.6.0 before 1.6.1 (fixed in 1.6.1)
From 1.7.0 before 1.7.1 (fixed in 1.7.1)

References