{"id":"CVE-2025-31683","aliases":["CVE-2025-31683","GHSA-qchr-8m24-7v66","DRUPAL-CONTRIB-2025-012"],"related":[],"kind":"vulnerability","state":"published","title":"Google Tag - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-012","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"This module enables you to integrate the site with the Google Tag Manager (GTM) application.\n\nThe 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).\n\nThis 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.","format":"markdown","source":"drupal"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-01-29T17:16:19.000Z","modified":"2026-09-10T03:45:54.597Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.8.0","status":"affected"},{"type":"semver","introduced":"2.0.0","fixed":"2.0.8","status":"affected"}],"vendor":"Drupal","product":"Google Tag","repo":"https://git.drupalcode.org/project/google_tag","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.0"}],"ecosystem":"Packagist","package":"drupal/google_tag","purl":"pkg:composer/drupal/google_tag","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.8"}],"ecosystem":"Packagist","package":"drupal/google_tag","purl":"pkg:composer/drupal/google_tag","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.0"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.8"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/google_tag","purl":"pkg:composer/drupal/google_tag?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","introduced":"7.x-1.0","fixed":"8.x-1.8"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.8"}],"vendor":"google_tag_project","product":"google_tag","cpe":"cpe:2.3:a:google_tag_project:google_tag:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-012","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","drupal","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31683","tags":["advisory"],"sources":["ghsa"]},{"url":"https://git.drupalcode.org/project/google_tag","tags":["package"],"sources":["ghsa"]}],"credits":["Pierre Rudloff","Florent Torregrosa","Jim Berry","Jakob P","Greg Knaddison","Juraj Nemec"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-29T15:33:33.662Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31683","url":"https://www.cve.org/CVERecord?id=CVE-2025-31683","licence":"CVE Terms of Use","modified":"2025-04-29T15:33:53.583Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qchr-8m24-7v66","url":"https://github.com/advisories/GHSA-qchr-8m24-7v66","licence":"CC-BY-4.0","modified":"2025-12-10T23:41:02.459Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-012","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-012","licence":"MIT","modified":"2026-09-10T03:45:54.597Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31683","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31683","licence":"Public domain","modified":"2026-06-17T09:10:46.047Z"}],"updatedAt":"2026-11-25T22:58:55.753Z","epss":{"score":0.0018,"percentile":0.07958,"date":"2026-12-01T12:00:22.000Z"}}