—
DRUPAL-CONTRIB-2025-012
Details
This module enables you to integrate the site with the Google Tag Manager (GTM) application.
The module doesn't sufficiently validate the enabling or disabling of a tag container. The routes involved are not protected against Cross Site Request Forgery (CSRF).
This vulnerability is mitigated by the fact that an attacker needs to know the machine name of the container. The machine name is a random string, making an attack more difficult.
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).