Vulnerability from drupal
Published
2026-07-01 17:21
Modified
2026-07-01 17:21
Summary
Details
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.
Credits
Christian López Espínola (penyaskito)
www.drupal.org/u/penyaskito
{
"affected": [
{
"database_specific": {
"affected_versions": "\u003c1.4.2 || \u003e=1.5.0 \u003c1.5.2 || \u003e=1.6.0 \u003c1.6.1 || \u003e=1.7.0 \u003c1.7.1"
},
"package": {
"ecosystem": "Packagist:https://packages.drupal.org/8",
"name": "drupal/canvas"
},
"ranges": [
{
"database_specific": {
"constraint": "\u003c1.4.2"
},
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.2"
}
],
"type": "ECOSYSTEM"
},
{
"database_specific": {
"constraint": "\u003e=1.5.0 \u003c1.5.2"
},
"events": [
{
"introduced": "1.5.0"
},
{
"fixed": "1.5.2"
}
],
"type": "ECOSYSTEM"
},
{
"database_specific": {
"constraint": "\u003e=1.6.0 \u003c1.6.1"
},
"events": [
{
"introduced": "1.6.0"
},
{
"fixed": "1.6.1"
}
],
"type": "ECOSYSTEM"
},
{
"database_specific": {
"constraint": "\u003e=1.7.0 \u003c1.7.1"
},
"events": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.1"
}
],
"type": "ECOSYSTEM"
}
],
"severity": []
}
],
"aliases": [
"CVE-2026-58588"
],
"credits": [
{
"contact": [
"https://www.drupal.org/u/penyaskito"
],
"name": "Christian L\u00f3pez Esp\u00ednola (penyaskito)"
}
],
"details": "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.",
"id": "DRUPAL-CONTRIB-2026-066",
"modified": "2026-07-01T17:21:09.000Z",
"published": "2026-07-01T17:21:09.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.drupal.org/sa-contrib-2026-066"
}
],
"schema_version": "1.7.0"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…