drupal/canvas - SA-CONTRIB-2026-066
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.
| Platform | Package | Vulnerable versions | Fixed 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
- 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
- 2026: 4
-
drupal/canvas - SA-CONTRIB-2026-066 this entry
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.