drupal/google_tag - SA-CONTRIB-2025-012
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/google_tag | < 1.8.0, >= 2.0.0, < 2.0.8 | 1.8.0, 2.0.8 |
| Drupal module | drupal/google_tag | < 1.8.0, >= 2.0.0, < 2.0.8 | 1.8.0, 2.0.8 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H- Weakness (CWE)
CWE-352- Platform
- Composer, Drupal
- Package
drupal/google_tag- Disclosed
- 29.01.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qchr-8m24-7v66 - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-012 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/google_tag
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 01.2025 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2025: 2
- 2026: 0
-
drupal/google_tag - SA-CONTRIB-2025-012 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.