CVE-2025-31683
JSON

6.8medium

Google Tag - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-012

Severity
6.8medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
GHSA-qchr-8m24-7v66DRUPAL-CONTRIB-2025-012

Description

Cross-Site Request Forgery (CSRF) vulnerability in Drupal Google Tag allows Cross Site Request Forgery.This issue affects Google Tag: from 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8.

Affected

Product or packageVersionsReported by
Drupal Google Tagfrom 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8CVE List
drupal/google_tag (Packagist)before 1.8.0, from 2.0.0 before 2.0.8GitHub Advisory Database
drupal/google_tag (Packagist:https://packages.drupal.org/8)before 1.8.0, from 2.0.0 before 2.0.8Drupal Security Team
google_tag_project google_tagfrom 7.x-1.0 before 8.x-1.8, from 2.0.0 before 2.0.8NVD

All scores

CISA-ADP6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Cross-Site Request Forgery (CSRF) vulnerability in Drupal Google Tag allows Cross Site Request Forgery.This issue affects Google Tag: from 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8.

GitHub Advisory Database

Cross-Site Request Forgery (CSRF) vulnerability in Drupal Google Tag allows Cross Site Request Forgery. This issue affects Google Tag: from 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8.

Drupal Security Team

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.

NVD (es)

La vulnerabilidad de Cross-Site Request Forgery (CSRF) en Drupal Google Tag permite Cross-Site Request Forgery. Este problema afecta a Google Tag: desde la versión 0.0.0 hasta la 1.8.0, desde la versión 2.0.0 hasta la 2.0.8.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31683 changed 2025-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-qchr-8m24-7v66 changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-012 changed 2026-09-10MIT
NVDCVE-2025-31683 changed 2026-06-17Public domain