CVE-2026-58588 Drupal Canvas - Moderately critical - Improper validation - SA-CONTRIB-2026-066

Medium 6.1 Published Updated

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-58588?

CVE-2026-58588 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-58588?

It affects 1 product.

Linux distribution packages (1)
drupal/canvas Packagist:https://packages.drupal.org/8All versions1.4.2, 1.5.2, 1.6.1, 1.7.1

Products include Drupal Canvas Project Drupal Canvas.

How do I fix CVE-2026-58588?

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-58588 being exploited?

There is no known exploitation of CVE-2026-58588 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2026-066, GHSA-4jgx-vqf2-p9g9.

Is CVE-2026-58588 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free