CVE-2025-31682

Source
https://cve.org/CVERecord?id=CVE-2025-31682
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31682.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-31682
Aliases
Published
2025-03-31T21:40:33.099Z
Modified
2026-07-08T06:53:24.625053499Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "0.0.0"
                },
                {
                    "fixed": "1.8.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31682.json",
    "cna_assigner": "drupal",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / git.drupalcode.org/project/google_tag

Affected ranges

Type
GIT
Repo
https://git.drupalcode.org/project/google_tag
Events
Introduced
74313aa53ca9d8460dcadf15cbc165bf3d6d7dba
Fixed
38ad07bc81acaa139958ffe9f80d86eebc700688
Introduced
af8ad2037b4865f5c20b0b1e0ee1344702ab3f44
Fixed
b46dcf23736369172fa54e143336c9b1bf713a12
Database specific
{
    "source": "CPE_RANGE",
    "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"
        }
    ]
}

Affected versions

2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
7.*
7.x-1.0
8.*
8.x-1.0
8.x-1.1
8.x-1.2
8.x-1.3
8.x-1.4
8.x-1.5
8.x-1.6
8.x-1.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31682.json"