WordPress High · CVSS 7.2 CVE-2026-16597 July 29, 2026

GTM4WP – A Google Tag Manager (GTM): cross-site scripting (XSS)

GTM4WP – A Google Tag Manager (GTM)

Cross-site scripting (XSS) in the GTM4WP – A Google Tag Manager (GTM) component. Threat level: High (CVSS 7.2).

Worried this flaw is on your site? Check it for free in under a minute, or have us fix and secure it right away.

Who is affected

This vulnerability affects: GTM4WP – A Google Tag Manager (GTM). If you use this component on your site, check the version and update it as soon as possible.

How dangerous

Rating: High, CVSS 7.2 out of 10. It is worth acting before the flaw is exploited.

What this flaw is

Cross-site scripting (XSS) lets an attacker inject foreign JavaScript into the page, which runs in the browser of a visitor or a logged-in administrator.

The attacker can hijack the session, replace content, or steal data from forms. "Stored" variants are more dangerous, because the code is saved permanently and hits everyone who opens the infected page.

Score breakdown (CVSS vector)

What the CVSS 7.2 rating means in practice:

  • The attack can be carried out remotely, over the internet.
  • No login or account required.
  • Requires no action from the victim.
  • The impact may reach beyond the vulnerable component itself.
  • At risk: data confidentiality, integrity (data can be altered).

Weakness class: CWE-79.

What to do

  • Update the vulnerable component (GTM4WP – A Google Tag Manager (GTM)) to the latest version.
  • If a patch is not out yet, temporarily disable the vulnerable element.
  • Check whether the site has already been attacked: unusual files, new administrator accounts, redirects.
  • Make a backup before you start making changes.
Do not guess, check

Does this flaw affect your site?

We will run a free audit: we check versions, plugins, and configuration, and tell you plainly whether you are safe.

Request a free audit →

Other current WordPress threats

MemberDash: security vulnerability CVE-2026-16310 · Critical HivePress Authentication: authentication bypass CVE-2026-18056 · High Frontend Admin by DynamiApps: authentication bypass CVE-2026-75816 · Critical SureCart WordPress: security vulnerability CVE-2026-18480 · High See the full list →