Skip to content

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

MediumCVSS 4.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
PHPWordPress

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress <= 1.15.1 after 1.15.1 Fixed
gtm4wp google tag manager < 1.15.2 1.15.2 Fixed
wordpress duracelltomi-google-tag-manager(WordPress) < 1.15.2 1.15.2 Fixed

Affected products

ProductAffected versionsFixed in
wordpress duracelltomi-google-tag-manager(WordPress) < 1.15.2 1.15.2
duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress <= 1.15.1 No fix listed
gtm4wp google tag manager < 1.15.2 1.15.2

References