← Database

CVE-2022-1961

MEDIUM CVSS: 5.5 Published: 2022-06-13 Modified: 2026-06-17

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 Platforms

Gtm4Wp Google Tag Manager

Weakness Type

CWE-79, CWE-79, CWE-79

References