Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-1961 EUVD-2022-25229GHSA-3jmc-pgpg-8r5g

Google Tag Manager for WordPress (GTM4WP) <= 1.15.1 - Stored Cross-Site Scripting via Content Element ID

Published Jun 13, 2022 · Updated Apr 8, 2026 · Assigned by Wordfence

Description

The Google Tag Manager for WordPress (GTM4WP) plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping via the `gtm4wp-options[scroller-contentid]` parameter found in the `~/public/frontend.php` file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 1.15.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.

Affected products

VendorProductAffectedFixed
duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress ≤ 1.15.1 —

References