<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>GTM4WP - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/gtm4wp/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 29 Jul 2026 11:20:33 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/gtm4wp/feed.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2026-16597 - GTM4WP WordPress Plugin Vulnerable to Stored XSS via WooCommerce Billing Fields</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2026-16597-gtm4wp-xss/</link><pubDate>Wed, 29 Jul 2026 11:20:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2026-16597-gtm4wp-xss/</guid><description>The GTM4WP (Google Tag Manager) plugin for WordPress, in versions up to and including 1.22.3, is vulnerable to stored cross-site scripting (XSS) via CVE-2026-16597, allowing unauthenticated attackers to inject arbitrary web scripts through WooCommerce billing fields during a guest checkout, which execute when a user accesses the compromised page.</description><content:encoded><![CDATA[<p>The GTM4WP - A Google Tag Manager (GTM) plugin for WordPress, in all versions up to and including 1.22.3, contains a critical stored cross-site scripting (XSS) vulnerability tracked as CVE-2026-16597. This flaw arises from insufficient input sanitization and output escaping when processing WooCommerce billing fields. Unauthenticated attackers can exploit this by submitting a guest checkout order through WooCommerce with a JavaScript payload embedded in billing fields, such as the first name. Successful exploitation requires the <code>GTM4WP_OPTION_INTEGRATE_WCORDERDATA</code> option to be enabled within the plugin's settings. Once injected, the malicious script executes whenever a user, including administrators, accesses a page displaying the compromised order data, potentially leading to session hijacking, credential theft, or further website defacement.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An unauthenticated attacker identifies a WordPress site running the vulnerable GTM4WP plugin (version 1.22.3 or earlier) with WooCommerce enabled.</li>
<li>The attacker browses the WordPress site as a guest user and adds an item to their shopping cart.</li>
<li>The attacker proceeds to the WooCommerce guest checkout page.</li>
<li>During the checkout process, the attacker injects a malicious JavaScript payload (e.g., <code>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</code>) into a WooCommerce billing field, such as &quot;Billing first name,&quot; and completes the guest order.</li>
<li>The GTM4WP plugin, with the <code>GTM4WP_OPTION_INTEGRATE_WCORDERDATA</code> option enabled, stores this unsanitized JavaScript payload as part of the order data in the WordPress database.</li>
<li>A legitimate, often privileged, user (e.g., a site administrator, store manager) accesses the order details page within the WordPress administrative dashboard to review the newly placed order.</li>
<li>When the browser renders the order details page, the stored malicious JavaScript payload executes in the legitimate user's browser context.</li>
<li>The attacker's script could then perform actions such as session hijacking, defacement of the admin interface, redirection to malicious sites, or exfiltration of sensitive information, achieving unauthorized control or data access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-16597 allows unauthenticated attackers to execute arbitrary web scripts in the context of a victim user's browser. This can lead to various severe consequences, including session hijacking of administrative users, complete website defacement, redirection of legitimate users to phishing or malicious sites, or unauthorized data theft from the compromised user's session. The widespread use of WordPress and WooCommerce means a significant number of e-commerce sites could be vulnerable, potentially impacting customer data privacy and business operations if an attacker gains control over a privileged user's session.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-16597 by updating the GTM4WP - A Google Tag Manager (GTM) plugin for WordPress plugin to version 1.22.4 or higher immediately.</li>
<li>Ensure that log sources for web servers (e.g., Apache, Nginx) are configured to capture full HTTP POST requests, specifically for paths related to WooCommerce checkout, to enable detection of JavaScript injection attempts as described in the <code>Detect CVE-2026-16597 XSS Injection Attempt on WooCommerce Checkout</code> rule.</li>
<li>Review web application firewall (WAF) configurations to ensure they actively filter for common cross-site scripting (XSS) patterns, particularly on input fields for WooCommerce.</li>
<li>Deploy the Sigma rule <code>Detect CVE-2026-16597 XSS Injection Attempt on WooCommerce Checkout</code> to your SIEM and tune for your environment to identify potential exploitation attempts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>wordpress</category><category>plugin</category><category>xss</category><category>web-vulnerability</category><category>e-commerce</category></item></channel></rss>