Skip to main content

GTM4WP EUVDEUVD-2026-50266

| CVE-2026-16597 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-29 Wordfence GHSA-x9cm-w8j6-hh5q
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach store as guest shopper
  2. Delivery
    Submit guest checkout order
  3. Exploit
    Inject script into billing first name
  4. Install
    Payload stored with WooCommerce order
  5. C2
    Admin views order/injected page
  6. Execute
    Script executes in victim browser
  7. Impact
    Session/cookie theft or admin actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the GTM4WP WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) to be explicitly enabled and WooCommerce to be active with guest checkout available, so a default GTM4WP install without this integration is not exploitable. The attacker needs no authentication - the payload is delivered by placing a normal guest checkout order with malicious script in a billing field such as billing first name. The limiting factor is that the injected script only fires when a victim (typically an administrator or staff user viewing order data) subsequently loads a page that renders the stored value, so impact depends on someone viewing the tainted order.

Impact

The provided CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N yields 7.2 (High), driven by network reach, no privileges, no required interaction, and a scope change reflecting that injected script runs in other users' (including administrators') browsers. The real-world risk is meaningfully lower than the raw score suggests because exploitation is conditional: the GTM4WP_OPTION_INTEGRATE_WCORDERDATA (WooCommerce order data integration) option must be enabled, which is a non-default deployment prerequisite, and impact is limited to C:L/I:L/A:N. No EPSS score, KEV entry, or public POC was provided, so there is no evidence of active or automated exploitation; this reads as a credible but not urgent stored-XSS issue. Note the UI:N choice is debatable for stored XSS since a victim must load the affected page - treat the 'no interaction' framing with that caveat.

Exploit ScenarioDerived

An unauthenticated attacker visits the target WooCommerce store and completes a guest checkout, placing a JavaScript payload (for example <script>...</script>) in the billing first name field. When a store administrator or another user later views a page that renders that order's data through GTM4WP's WooCommerce integration, the stored script executes in their browser, potentially stealing session cookies or performing actions in the admin's context. No public exploit code is currently identified, but the AV:N/AC:L/PR:N attack path makes the technique straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 29, 2026

Stored cross-site scripting in the GTM4WP (Google Tag Manager for WordPress) plugin, versions up to and including 1.22.3, lets unauthenticated attackers persist arbitrary JavaScript through WooCommerce billing fields (e.g. billing first name) during a guest checkout. The script executes in the browser of any user who later loads a page rendering that order data, enabling session/cookie theft and admin-context actions. No public exploit has been identified at time of analysis and it is not listed in CISA KEV; exploitation is gated on the plugin's WooCommerce order-data integration option being enabled.

RemediationAI

Upgrade the plugin to GTM4WP 1.22.4 or later; the fix is confirmed by the WordPress.org changeset diffing tag 1.22.3 against 1.22.4 (https://plugins.trac.wordpress.org/changeset?old_path=%2Fduracelltomi-google-tag-manager/tags/1.22.3&new_path=%2Fduracelltomi-google-tag-manager/tags/1.22.4 and the frontend.php changeset https://plugins.trac.wordpress.org/changeset/3618063/duracelltomi-google-tag-manager/trunk/public/frontend.php), with details in the Wordfence advisory linked above. If immediate patching is not possible, disable the GTM4WP WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA), which removes the vulnerable data path at the cost of losing WooCommerce order/customer data in the GTM dataLayer (breaking enhanced e-commerce tracking); as an additional layer, deploy a WAF/virtual-patch rule to block script-like payloads in WooCommerce billing fields and review existing orders for injected markup before it is rendered in the admin.

Affected VersionsENISA

GTM4WP – A Google Tag Manager (GTM) plugin for WordPress 0 ≤1.22.3

Affected Packages

euvd gtm4wp_a_google_tag_manager_gtm_plugin_for_wordpress no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GTM4WP (vendor duracelltomi, CPE cpe:2.3:a:duracelltomi:gtm4wp_-_a_google_tag_manager_(gtm)_plugin_for_wordpress) injects a Google Tag Manager dataLayer into WordPress pages, and its WooCommerce integration reflects order/customer attributes into that dataLayer for e-commerce tracking. The root cause is CWE-79 (improper neutralization of input during web page generation): billing field values supplied at checkout are written into the frontend output (see public/frontend.php around L1148 and integration/woocommerce.php L265/L664/L942) without sufficient sanitization on input or escaping on output, so a value like the billing first name is emitted into the page/JavaScript context verbatim. Because the tainted data is stored with the order and rendered later, it is a persistent (stored) XSS rather than reflected.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Unauthenticated guest checkout gives PR:N/AV:N/AC:L; stored script runs in other users' browsers (S:C) with limited C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The GTM4WP - A Google Tag Manager (GTM) plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via WooCommerce Billing Fields in all versions up to, and including, 1.22.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the GTM4WP WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) to be enabled, and is exploited by placing a guest checkout order with a JavaScript payload in a WooCommerce billing field such as the billing first name.

Executive ViewAI

Why It Matters

GTM4WP, a widely-deployed WordPress analytics plugin, contains a stored cross-site scripting flaw that allows unauthenticated attackers to inject malicious code into customer checkout data; any customer or administrator accessing order records becomes a target for credential theft or account takeover. Organizations with WordPress-WooCommerce deployments face customer-facing risk of payment fraud and data breach, as well as operational risk from administrative account compromise. With no public exploit identified and no vendor-released patch available, immediate interim controls are critical.

Business Impact: High
Compensating Controls

Disable the WooCommerce order-data integration option in GTM4WP plugin settings to immediately remove the attack surface; implement strict input sanitization and output encoding on billing-field data; deploy WAF rules to block JavaScript and suspicious payloads in checkout submissions; enable detailed logging and alerting on order data access and administrative logins to detect unauthorized activity; evaluate temporary checkout process hardening (additional CAPTCHA, IP restriction, admin alerts on checkout queries); plan migration to alternative GTM plugin without checkout-data functionality if vendor patch is delayed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular WordPress GTM plugin but WooCommerce-order-data integration is opt-in
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy