drupal/google_tag - SA-CONTRIB-2025-011
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.
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:L/PR:H/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- 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-36vv-q5jv-94cj - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-011 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/google_tag
All published vulnerabilities of this package (Composer package), 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-011 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.