CVE-2026-16597
The GTM4WP – A Google Tag Manager (GTM) plugin for WordPress plugin …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/1.22.3/integration
- plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/1.22.3/integration
- plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/1.22.3/integration
- plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/1.22.3/public/fron
- plugins.trac.wordpress.org/changeset/3618063/duracelltomi-google-tag-manager/trunk/public/
- plugins.trac.wordpress.org/changeset?old_path=%2Fduracelltomi-google-tag-manager/tags/1.22
- www.wordfence.com/threat-intel/vulnerabilities/id/03542812-b6e5-421d-9ba6-43f1c779940f?sou
- nvd.nist.gov/vuln/detail/CVE-2026-16597
- cve.org/CVERecord?id=CVE-2026-16597
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.