CVE-2025-31682
JSON

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 packageVersionsReported by
Drupal Google Tagfrom 0.0.0 before 1.8.0, from 2.0.0 before 2.0.8CVE List
drupal/google_tag (Packagist)before 1.8.0, from 2.0.0 before 2.0.8GitHub Advisory Database
drupal/google_tag (Packagist:https://packages.drupal.org/8)before 1.8.0, from 2.0.0 before 2.0.8Drupal Security Team
google_tag_project google_tagfrom 7.x-1.0 before 8.x-1.8, from 2.0.0 before 2.0.8NVD

All scores

CISA-ADP4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS: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

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2025-31682 changed 2025-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-36vv-q5jv-94cj changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-011 changed 2026-09-10MIT
NVDCVE-2025-31682 changed 2026-06-17Public domain