CVE-2022-1707Gtm4wp Google Tag Manager
Medium 6.1 No auth needed
Follow: this CVE · Gtm4wp · Gtm4wp Google Tag Manager We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Jun 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The Google Tag Manager for WordPress plugin for WordPress is vulnerable to reflected Cross-Site Scripting via the s parameter due to the site search populating into the data layer of sites with insufficient sanitization in versions up to an including 1.15. The affected file is ~/public/frontend.php and this could be exploited by unauthenticated attackers.
What to do
- Apply the vendor's security update for Google Tag Manager.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gtm4wp | google_tag_manager | < 1.15.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Issue Tracking
- www.wordfence.com Third Party Advisory
- www.wordfence.com Third Party Advisory