{"id":"CVE-2025-8362","aliases":["DRUPAL-CONTRIB-2025-094","EUVD-2025-25042","GHSA-3hjr-7c64-7xm6"],"status":"published","title":"GoogleTag Manager - Moderately critical - Cross-site scripting - SA-CONTRIB-2025-094","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal GoogleTag Manager allows Cross-Site Scripting (XSS).This issue affects GoogleTag Manager: from 0.0.0 before 1.10.0.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00254,"percentile":0.17012,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-07-30T16:31:23Z","modified":"2026-09-10T03:45:46Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/gtm","fixed_in":["1.10.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/gtm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}]}],"products":[{"vendor":"drupal","product":"googletag manager"},{"vendor":"googletag_manager_project","product":"googletag_manager"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-094","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8362"},{"url":"https://github.com/advisories/GHSA-3hjr-7c64-7xm6"}],"sources":{"cve":[{"id":"CVE-2025-8362","title":"GoogleTag Manager - Moderately critical - Cross-site scripting - SA-CONTRIB-2025-094","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal GoogleTag Manager allows Cross-Site Scripting (XSS).This issue affects GoogleTag Manager: from 0.0.0 before 1.10.0.","status":"published","published":"2025-08-15T16:27:05.226Z","modified":"2025-08-15T16:48:56.484Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:38.025852Z"}],"euvd":[{"id":"EUVD-2025-25042","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal GoogleTag Manager allows Cross-Site Scripting (XSS).This issue affects GoogleTag Manager: from 0.0.0 before 1.10.0.","status":"published","published":"2025-08-15T16:27:05Z","modified":"2025-08-15T16:48:56Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:56.690534Z"}],"ghsa":[{"id":"GHSA-3hjr-7c64-7xm6","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')...","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal GoogleTag Manager allows Cross-Site Scripting (XSS).This issue affects GoogleTag Manager: from 0.0.0 before 1.10.0.","status":"published","published":"2025-08-15T18:31:12Z","modified":"2025-08-15T18:31:59Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:03:19.214105Z"}],"nvd":[{"id":"CVE-2025-8362","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal GoogleTag Manager allows Cross-Site Scripting (XSS).This issue affects GoogleTag Manager: from 0.0.0 before 1.10.0.","status":"published","published":"2025-08-15T17:15:33.493Z","modified":"2026-06-17T10:06:49.523Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:24.730342Z"}],"osv":[{"id":"DRUPAL-CONTRIB-2025-094","description":"This module enables you to integrate Google Tag Manager (GTM) into your Drupal site by allowing administrators to configure and embed GTM container snippets.\n\nThe module doesn't sufficiently sanitize the GTM container ID under the scenario where a user with the *Administer gtm* permission enters malicious input into the *GTM-ID* field. This value is directly inserted into a `\u003cscript\u003e` tag, making the site vulnerable to Cross-site Scripting (XSS) attacks.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission *Administer gtm*, and the input field is limited to 20 characters.","status":"published","published":"2025-07-30T16:31:23Z","modified":"2026-09-10T03:45:46.194931684Z","updated_at":"2026-11-02T15:46:13.900249Z"}]}}
