—
DRUPAL-CONTRIB-2025-080
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 some HTML 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 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.7Upgrade drupal/klaro to 3.0.7 or newer (ecosystem packagist:https://packages.drupal.org/8).