CVE-2026-16597: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
The GTM4WP plugin for WordPress, used for Google Tag Manager integration, is vulnerable to stored Cross-Site Scripting (XSS) via WooCommerce billing fields in all versions up to and including 1.22.3. This vulnerability arises from insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject malicious scripts that execute when users access affected pages. Exploitation requires the WooCommerce order data integration option to be enabled and involves placing a guest checkout order with a JavaScript payload in billing fields such as the billing first name.
AI Analysis
Technical Summary
CVE-2026-16597 is a stored Cross-Site Scripting vulnerability in the GTM4WP WordPress plugin, specifically affecting the WooCommerce billing fields when the WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) is enabled. The vulnerability is due to improper neutralization of input during web page generation, allowing unauthenticated attackers to inject arbitrary JavaScript code via guest checkout billing fields. This malicious code executes in the context of users viewing the injected pages, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all plugin versions up to and including 1.22.3. No official patch or remediation level has been provided as of the published date.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in the browsers of users who access the injected pages. This can lead to information disclosure, session hijacking, or other client-side impacts. The vulnerability requires the WooCommerce order data integration option to be enabled, limiting exposure to sites using this feature. There is no indication of impact on system availability or integrity beyond client-side script execution.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to disable the WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) if it is not required. Additionally, carefully validate and sanitize all user inputs in WooCommerce billing fields to prevent injection of malicious scripts.
CVE-2026-16597: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
Description
The GTM4WP plugin for WordPress, used for Google Tag Manager integration, is vulnerable to stored Cross-Site Scripting (XSS) via WooCommerce billing fields in all versions up to and including 1.22.3. This vulnerability arises from insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject malicious scripts that execute when users access affected pages. Exploitation requires the WooCommerce order data integration option to be enabled and involves placing a guest checkout order with a JavaScript payload in billing fields such as the billing first name.
CVSS v3.1
Score 7.2high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16597 is a stored Cross-Site Scripting vulnerability in the GTM4WP WordPress plugin, specifically affecting the WooCommerce billing fields when the WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) is enabled. The vulnerability is due to improper neutralization of input during web page generation, allowing unauthenticated attackers to inject arbitrary JavaScript code via guest checkout billing fields. This malicious code executes in the context of users viewing the injected pages, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all plugin versions up to and including 1.22.3. No official patch or remediation level has been provided as of the published date.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in the browsers of users who access the injected pages. This can lead to information disclosure, session hijacking, or other client-side impacts. The vulnerability requires the WooCommerce order data integration option to be enabled, limiting exposure to sites using this feature. There is no indication of impact on system availability or integrity beyond client-side script execution.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to disable the WooCommerce order data integration option (GTM4WP_OPTION_INTEGRATE_WCORDERDATA) if it is not required. Additionally, carefully validate and sanitize all user inputs in WooCommerce billing fields to prevent injection of malicious scripts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-22T13:53:12.572Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a69d4879c2644c7f856ba55
Added to database: 07/29/2026, 10:23:03 UTC
Last enriched: 07/29/2026, 10:37:40 UTC
Last updated: 07/29/2026, 11:26:50 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.