4.8medium
Google Tag - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-011
- Severity
- 4.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-36vv-q5jv-94cjDRUPAL-CONTRIB-2025-011
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal Google Tag | from 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8 | CVE List |
| drupal/google_tag (Packagist) | before 1.8.0, from 2.0.0 before 2.0.8 | GitHub Advisory Database |
| drupal/google_tag (Packagist:https://packages.drupal.org/8) | before 1.8.0, from 2.0.0 before 2.0.8 | Drupal Security Team |
| google_tag_project google_tag | from 7.x-1.0 before 8.x-1.8, from 2.0.0 before 2.0.8 | NVD |
All scores
| CISA-ADP | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Drupal Security Team
This module enables you to integrate the site with the Google Tag Manager (GTM) application.
The 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.
This vulnerability is mitigated by the fact that an attacker must have a role with the aforementioned permission.
NVD (es)
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.
References
| https://www.drupal.org/sa-contrib-2025-011 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31682 | advisory | |
| https://git.drupalcode.org/project/google_tag | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31682 changed 2025-04-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-36vv-q5jv-94cj changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-011 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31682 changed 2026-06-17 | Public domain |