CVE-2026-58591 Colorbox - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-069
An attacker can inject malicious scripts into Drupal Colorbox module pages, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-58591?
CVE-2026-58591 is a medium-severity cross-site scripting vulnerability in Drupal Colorbox, published on 10 Jul 2026. Any signed-in user can exploit it over the network, 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 Colorbox allows Cross-Site Scripting (XSS). This issue affects Colorbox versions: from 0.0.0 to 2.1.5, from 0.0.0 to 2.2.0.
Weakness: CWE-79
Which versions are affected by CVE-2026-58591?
It affects 1 product.
Linux distribution packages (1)
drupal/colorbox Packagist:https://packages.drupal.org/8 | All versions to 2.2.0 | 2.1.5 |
Products include Colorbox Project Colorbox.
How do I fix CVE-2026-58591?
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-58591 being exploited?
There is no known exploitation of CVE-2026-58591 in the wild and no public exploit code.
Other vulnerabilities in Drupal Colorbox
Sources
Also known as DRUPAL-CONTRIB-2026-069, GHSA-xj92-p35c-g452.