{"id":"DRUPAL-CONTRIB-2025-011","details":"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.","aliases":["CVE-2025-31682","GHSA-36vv-q5jv-94cj"],"modified":"2026-09-10T03:45:54.720349941Z","published":"2025-01-29T17:13:29Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-011"}],"affected":[{"package":{"name":"drupal/google_tag","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/google_tag?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}],"database_specific":{"constraint":"\u003c1.8.0"}},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.8"}],"database_specific":{"constraint":"\u003e=2.0.0 \u003c2.0.8"}}],"database_specific":{"affected_versions":"\u003c1.8.0 || \u003e=2.0.0 \u003c2.0.8","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/google_tag/DRUPAL-CONTRIB-2025-011.json"}}],"schema_version":"1.9.0","credits":[{"name":"Pierre Rudloff","contact":["https://www.drupal.org/user/3611858"]}]}