Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/
- https://plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/
- https://plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/
- https://plugins.trac.wordpress.org/browser/duracelltomi-google-tag-manager/tags/
- https://plugins.trac.wordpress.org/changeset/3618063/duracelltomi-google-tag-man
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fduracelltomi-google-tag
- https://www.wordfence.com/threat-intel/vulnerabilities/id/03542812-b6e5-421d-9ba
FAQ
What is CVE-2026-16597?
CVE-2026-16597 is a vulnerability with a CVSS score of 7.2 (HIGH). 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...
How severe is CVE-2026-16597?
CVE-2026-16597 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-16597?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.