VDB
Sign up
—

DRUPAL-CONTRIB-2025-050

Details

Klaro Cookie & Consent Management module is used for consent management for cookies and external sources. It makes changes to the markup to enable or disable loading.

The module doesn't sufficiently sanitize data attributes allowing persistent Cross Site Scripting (XSS) attacks.

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/klaro
Introduced in: 0Fixed in: 3.0.5

Upgrade drupal/klaro to 3.0.5 or newer (ecosystem packagist:https://packages.drupal.org/8).

References