ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2025-041

Details

Colorbox is a module that allows Images, and iframed or inline content to be displayed in a modal above the current page.

The Colorbox module doesn't sufficiently sanitize data attributes before opening modals.

This vulnerability is mitigated by the fact that an attacker must have a role with permission to enter HTML tags containing specific data attributes.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/colorbox
All versions before 2.1.3 (fixed in 2.1.3)

References