DRUPAL-CONTRIB-2025-050unknown
DRUPAL-CONTRIB-2025-050
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
drupal/klaro Packagist:https://packages.drupal.org/8
Ecosystem versions
Earlier releases before 3.0.5
Fixed in 3.0.5
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.5"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<3.0.5"
}
}
],
"versions": []
}