—
DRUPAL-CONTRIB-2025-011
Details
This module enables you to integrate the site with the Google Tag Manager (GTM) application.
The module doesn't have the "restrict access" flag on the "administer google\_tag\_container" permission. A user with this permission can load a GTM container that completely changes the page or inserts malicious JS, resulting in a cross site scripting vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with the aforementioned permission.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist:https://packages.drupal.org/8/drupal/google_tag
Introduced in:
0Fixed in: 1.8.0Upgrade drupal/google_tag to 1.8.0 or newer (ecosystem packagist:https://packages.drupal.org/8).