CVE-2022-1961 Details
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.
A stored cross-site scripting vulnerability has been identified in the Google Tag Manager for WordPress (GTM4WP) plugin, affecting versions through 1.15.1. The issue arises from insufficient escaping of the 'gtm4wp-options[scroller-contentid]' parameter in the 'frontend.php' file. This vulnerability allows attackers with administrative access to inject arbitrary web scripts. It is particularly concerning for multi-site installations where 'unfiltered_html' is disabled for administrators, as well as for sites with 'unfiltered_html' restrictions.
Users are advised to update the Google Tag Manager for WordPress plugin to version 1.15.2 or newer.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gtm4wp google tag manager | < 1.15.2 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 8, 2026 | CVE Modified | [email protected] |
| May 5, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 24, 2023 | Modified Analysis | [email protected] |
| Oct 20, 2023 | CVE Modified | [email protected] |
| Aug 6, 2022 | Reanalysis | [email protected] |
| Jun 21, 2022 | Initial Analysis | [email protected] |