{"id":"CVE-2025-31682","summary":"Google Tag - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-011","details":"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.","aliases":["DRUPAL-CONTRIB-2025-011","GHSA-36vv-q5jv-94cj"],"modified":"2026-08-12T03:51:16.050164960Z","published":"2025-03-31T21:40:33.099Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"0.0.0"},{"fixed":"1.8.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"drupal","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31682.json"},"references":[{"type":"WEB","url":"https://git.drupalcode.org/project/google_tag"},{"type":"WEB","url":"https://www.drupal.org/project/google_tag"},{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-011"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31682.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31682"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.drupalcode.org/project/google_tag","events":[{"introduced":"74313aa53ca9d8460dcadf15cbc165bf3d6d7dba"},{"fixed":"38ad07bc81acaa139958ffe9f80d86eebc700688"},{"introduced":"af8ad2037b4865f5c20b0b1e0ee1344702ab3f44"},{"fixed":"b46dcf23736369172fa54e143336c9b1bf713a12"}],"database_specific":{"cpe":"cpe:2.3:a:google_tag_project:google_tag:*:*:*:*:*:drupal:*:*","extracted_events":[{"introduced":"7.x-1.0"},{"fixed":"8.x-1.8"},{"introduced":"2.0.0"},{"fixed":"2.0.8"}],"source":"CPE_RANGE"}}],"versions":["2.0.7","8.x-1.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","8.x-1.6","8.x-1.5","8.x-1.4","8.x-1.3","8.x-1.2","8.x-1.1","8.x-1.0","7.x-1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31682.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}