Medium

drupal/google_tag - SA-CONTRIB-2025-011

  • Disclosed: 29.01.2025
  • Updated: 11.10.2026 12:18

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.

PlatformPackageVulnerable versionsFixed 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 score 4.8/10
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

  1. 2025: 2
  2. 2026: 0
  1. Medium · 6.8 CVE-2025-31683 < 1.8.0, >= 2.0.0, < 2.0.8 1.8.0, 2.0.8
  2. drupal/google_tag - SA-CONTRIB-2025-011 this entry
    Medium · 4.8 CVE-2025-31682 < 1.8.0, >= 2.0.0, < 2.0.8 1.8.0, 2.0.8

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.