CVE-2026-16597 GTM4WP <= 1.22.3 - Unauthenticated Stored Cross-Site Scripting via WooCommerce Billing Fields

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via WooCommerce billing fields if order data integration is enabled, leading to stored XSS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-16597?

CVE-2026-16597 is a high-severity cross-site scripting vulnerability in duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-16597?

How do I fix CVE-2026-16597?

No fix has been published for CVE-2026-16597 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-16597 being exploited?

There is no known exploitation of CVE-2026-16597 in the wild and no public exploit code.

Sources

Also known as GHSA-x9cm-w8j6-hh5q.

Is CVE-2026-16597 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free