PT-2026-55223 · Drupal+3 · Drupal/Canvas+1
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Drupal Canvas versions 0.0.0 through 1.4.2
Drupal Canvas versions 1.5.0 through 1.5.2
Drupal Canvas versions 1.6.0 through 1.6.1
Drupal Canvas versions 1.7.0 through 1.7.1
Description
An issue exists where the Canvas module allows Cross-Site Scripting (XSS) due to improper neutralization of input during web page generation. The module enables image file uploads via a custom API, but validation rules only verify the file extension and ignore the file MIME type (Multipurpose Internet Mail Extensions, a standard that indicates the nature and format of a document). This allows a malicious user to upload non-image files. Depending on the web-server configuration, these files may be served with their actual MIME type, leading to XSS or other unexpected behavior.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Drupal/Canvas
Canvas