{"id":"CVE-2025-31682","aliases":["CVE-2025-31682","GHSA-36vv-q5jv-94cj","DRUPAL-CONTRIB-2025-011"],"related":[],"kind":"vulnerability","state":"published","title":"Google Tag - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-011","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Google Tag allows Cross-Site Scripting (XSS).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":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Google Tag allows Cross-Site Scripting (XSS).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":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Google Tag allows Cross-Site Scripting (XSS). 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 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.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the aforementioned permission.","format":"markdown","source":"drupal"},{"lang":"es","text":"Vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Google Tag permite Cross-Site Scripting (XSS). 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:13:29.000Z","modified":"2026-09-10T03:45:54.720Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"}],"cwes":["CWE-79"],"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-011","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","drupal","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31682","tags":["advisory"],"sources":["ghsa"]},{"url":"https://git.drupalcode.org/project/google_tag","tags":["package"],"sources":["ghsa"]}],"credits":["Pierre Rudloff","Jakob P","Jim Berry","Greg Knaddison","Juraj Nemec"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-01T18:21:29.123Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31682","url":"https://www.cve.org/CVERecord?id=CVE-2025-31682","licence":"CVE Terms of Use","modified":"2025-04-29T15:35:27.114Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-36vv-q5jv-94cj","url":"https://github.com/advisories/GHSA-36vv-q5jv-94cj","licence":"CC-BY-4.0","modified":"2025-12-10T23:41:10.821Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-011","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-011","licence":"MIT","modified":"2026-09-10T03:45:54.720Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31682","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31682","licence":"Public domain","modified":"2026-06-17T09:10:45.903Z"}],"updatedAt":"2026-11-25T22:58:55.752Z","epss":{"score":0.00236,"percentile":0.15646,"date":"2026-12-01T12:00:22.000Z"}}