{"id":"DRUPAL-CONTRIB-2026-066","aliases":["CVE-2026-58588"],"title":"DRUPAL-CONTRIB-2026-066","description":"The Canvas module allow you to upload image files via a custom API.\n\nThe 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.\n\nCertain 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":"unknown","score":null,"published":"2026-07-01T17:21:09.000Z","modified":"2026-09-10T03:45:42.448Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist:https://packages.drupal.org/8","name":"drupal/canvas","ranges":[{"events":[{"introduced":"0"},{"fixed":"1.4.2"}],"type":"ECOSYSTEM","database_specific":{"constraint":"<1.4.2"}},{"events":[{"introduced":"1.5.0"},{"fixed":"1.5.2"}],"type":"ECOSYSTEM","database_specific":{"constraint":">=1.5.0 <1.5.2"}},{"events":[{"introduced":"1.6.0"},{"fixed":"1.6.1"}],"type":"ECOSYSTEM","database_specific":{"constraint":">=1.6.0 <1.6.1"}},{"events":[{"introduced":"1.7.0"},{"fixed":"1.7.1"}],"type":"ECOSYSTEM","database_specific":{"constraint":">=1.7.0 <1.7.1"}}],"versions":[],"fixed":["1.4.2","1.5.2","1.6.1","1.7.1"]}],"references":["https://www.drupal.org/sa-contrib-2026-066"],"sources":[{"name":"OSV","id":"DRUPAL-CONTRIB-2026-066","modified":"2026-09-10T03:45:42.448869829Z","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-066"}],"assessments":[]}