DRUPAL-CONTRIB-2025-050

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/klaro/DRUPAL-CONTRIB-2025-050.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2025-050
Aliases
Published
2025-05-07T17:06:52Z
Modified
2026-09-10T03:46:00Z
Summary
[none]
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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/klaro

Package

Name
drupal/klaro
Purl
pkg:composer/drupal/klaro?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.5
Database specific
Show details
{
    "constraint": "<3.0.5"
}

Database specific

affected_versions
"<3.0.5"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/klaro/DRUPAL-CONTRIB-2025-050.json"