CVE-2022-1961Gtm4wp Google Tag Manager
Medium 4.8
Follow: this CVE · Gtm4wp · Gtm4wp Google Tag Manager We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- Jun 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Google Tag Manager.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gtm4wp | google_tag_manager | < 1.15.2 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- plugins.trac.wordpress.org Patch
- wordpress.org Product Release Notes
- www.wordfence.com Third Party Advisory
- www.wordfence.com Third Party Advisory