Unrated

drupal/canvas - SA-CONTRIB-2026-066

  • Disclosed: 01.07.2026
  • Updated: 11.10.2026 12:18

The Canvas module allow you to upload image files via a custom API.

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/canvas < 1.4.2, >= 1.5.0, < 1.5.2, >= 1.6.0, < 1.6.1, >= 1.7.0, < 1.7.1 1.4.2, 1.5.2, 1.6.1, 1.7.1
Drupal module drupal/canvas < 1.4.2, >= 1.5.0, < 1.5.2, >= 1.6.0, < 1.6.1, >= 1.7.0, < 1.7.1 1.4.2, 1.5.2, 1.6.1, 1.7.1

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/canvas
Disclosed
01.07.2026
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-066 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/canvas

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
01.2026 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Unrated 4

Disclosures per year

  1. 2026: 4
  1. drupal/canvas - SA-CONTRIB-2026-066 this entry
    Unrated CVE-2026-58588 < 1.4.2, >= 1.5.0, < 1.5.2, >= 1.6.0, < 1.6.1, >= 1.7.0, < 1.7.1 1.4.2, 1.5.2, 1.6.1, 1.7.1
  2. Unrated CVE-2026-58587 < 1.4.2, >= 1.5.0, < 1.5.2, >= 1.6.0, < 1.6.1, >= 1.7.0, < 1.7.1 1.4.2, 1.5.2, 1.6.1, 1.7.1
  3. Unrated CVE-2026-3216 < 1.1.1 1.1.1
  4. Unrated CVE-2026-1553 < 1.0.4 1.0.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.