CVE-2022-1961
Google Tag Manager for WordPress (GTM4WP) <= 1.15.1 - Stored Cross-Site Scripting via Content Element ID
MEDIUM 4.8EPSS 1.1%
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
- duracelltomi · GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
- CVSS v3.1 NVD
- 4.8 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 WORDFENCE
- 5.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - CVSS v2.0 NVD
- 3.5 LOW
AV:N/AC:M/Au:S/C:N/I:P/A:N - EPSS
- 1.12% chance of exploitation in the next 30 days, 66th percentile
- Published
- 2022-06-13
- Updated
- 2026-04-08
Proof-of-concept exploits (1)
Security advisories
- https://www.wordfence.com/threat-intel/vulnerabilities/id/202c14d0-9207-47cb-9410-ca4c70d…
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2732977%…
- https://wordpress.org/plugins/duracelltomi-google-tag-manager/#developers