CVE-2022-1961

MEDIUM CVSS 3.1: 4.8 EPSS 1.14%
Updated Apr 08, 2026
Gtm4Wp
Parameter Value
CVSS 4.8 (MEDIUM)
Affected Versions before 1.15.2
Fixed In 1.15.2
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Gtm4Wp
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gtm4wp Google_Tag_Manager
cpe:2.3:a:gtm4wp:google_tag_manager:*:*:*:*:*:wordpress:*:*
— 1.15.2

Related Vulnerabilities