Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach store as guest shopper
-
DeliverySubmit guest checkout order
-
ExploitInject script into billing first name
-
InstallPayload stored with WooCommerce order
-
C2Admin views order/injected page
-
ExecuteScript executes in victim browser
-
ImpactSession/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-50266
GHSA-x9cm-w8j6-hh5q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB