(CVE-2026-58587)
Vulnerability from drupal – Published: 2026-07-01 17:20 – Updated: 2026-07-01 17:20 – Source websiteThe Canvas AI submodule allows you to upload image files via a custom API to use within the AI web chat.
These file uploads are insufficiently validated before being written to Drupal's temporary directory. In some cases, this may lead to cross-site scripting (XSS).
| URL | Type | |
|---|---|---|
{
"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-58587"
],
"credits": [
{
"contact": [
"https://www.drupal.org/u/akhil-babu"
],
"name": "AKHIL BABU (akhil babu)"
}
],
"details": "The Canvas AI submodule allows you to upload image files via a custom API to use within the AI web chat.\n\nThese file uploads are insufficiently validated before being written to Drupal\u0027s temporary directory. In some cases, this may lead to cross-site scripting (XSS).",
"id": "DRUPAL-CONTRIB-2026-065",
"modified": "2026-07-01T17:20:16.000Z",
"published": "2026-07-01T17:20:16.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.drupal.org/sa-contrib-2026-065"
}
],
"schema_version": "1.7.0"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.