Description
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.
References (5)
Core 5
Core References
Issue Tracking
https://github.com/duracelltomi/gtm4wp/issues/224
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve
Third Party Advisory
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707
Scores
CVSS v3
6.1
EPSS
0.1258
EPSS Percentile
94.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
duracelltomi/GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
< 1.15
gtm4wp/google_tag_manager
< 1.15.1
Published
Jun 13, 2022
Tracked Since
Feb 18, 2026