CVE-2026-58587 Drupal Canvas - Moderately critical - Improper validation - SA-CONTRIB-2026-065
Attackers can inject malicious scripts via improper input validation in the Drupal Canvas module, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-58587?
CVE-2026-58587 is a medium-severity cross-site scripting vulnerability in Drupal Canvas, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Drupal Canvas allows Cross-Site Scripting (XSS). This issue affects Drupal Canvas versions: from 0.0.0 to 1.4.2, from 1.5.0 to 1.5.2, from 1.6.0 to 1.6.1, from 1.7.0 to 1.7.1.
Weakness: CWE-79
Which versions are affected by CVE-2026-58587?
It affects 1 product.
Linux distribution packages (1)
drupal/canvas Packagist:https://packages.drupal.org/8 | All versions | 1.4.2, 1.5.2, 1.6.1, 1.7.1 |
Products include Drupal Canvas Project Drupal Canvas.
How do I fix CVE-2026-58587?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-58587 being exploited?
There is no known exploitation of CVE-2026-58587 in the wild and no public exploit code.
Other vulnerabilities in Drupal Canvas
- CVE-2026-58588 Drupal Canvas - Moderately critical - Improper validation - SA-CONTRIB-2026-066
- CVE-2026-3216 Drupal Canvas - Moderately critical - Server-side request forgery, Information disclosure - SA-CONTRIB-2026-017
- CVE-2026-1553 Drupal Canvas - Moderately critical - Access bypass - SA-CONTRIB-2026-006
Sources
Also known as DRUPAL-CONTRIB-2026-065, GHSA-vx3g-w5hr-294x.