Medium

drupal/google_tag - SA-CONTRIB-2025-012

  • 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 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.

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 6.8/10
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

  1. 2025: 2
  2. 2026: 0
  1. drupal/google_tag - SA-CONTRIB-2025-012 this entry
    Medium · 6.8 CVE-2025-31683 < 1.8.0, >= 2.0.0, < 2.0.8 1.8.0, 2.0.8
  2. 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.