Vulnerability Report
Plugin Medium Patch path listed CVE-2022-1961

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

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.

Quick Answer

CVE-2022-1961 is a medium severity with CVSS 5.5 Stored Cross-Site Scripting issue affecting the Plugin GTM4WP – A Google Tag Manager (GTM) plugin for WordPress. It affects Versions up to 1.15.1 and is fixed in 1.15.2.

Published
May 31, 2022
Last Updated
Jan 22, 2024
Slug
duracelltomi-google-tag-manager
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 1.15.2, or a newer patched version
Operator Briefing

CVE-2022-1961 is tracked for the Plugin GTM4WP – A Google Tag Manager (GTM) plugin for WordPress as medium severity with CVSS 5.5. The affected range is Versions up to 1.15.1. Update GTM4WP – A Google Tag Manager (GTM) plugin for WordPress to 1.15.2 or newer where that version is compatible with the site.

Issue Type
Stored Cross-Site Scripting
Primary Fixed Version
1.15.2
Primary Affected Range
Versions up to 1.15.1
Tracking ID
CVE-2022-1961
Detailed Metadata
Software Type Plugin
Software Slug
duracelltomi-google-tag-manager View on wordpress.org
CVE CVE-2022-1961
Patched Versions
1.15.2
Affected Versions
Versions up to 1.15.1
Related CVE Cluster

Related CVEs for GTM4WP – A Google Tag Manager (GTM) plugin for WordPress

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more