CVE-2022-1961: GTM4WP Google Tag Manager
Medium severity, CVSS 4.8. EPSS: 1.1% chance of exploitation in the next 30 days.
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
- GTM4WP Google Tag Manager: before 1.15.2 (fixed in 1.15.2)
Published 2022-06-13. Last modified 2026-06-17.