Vulnerability · Published Jun 13, 2022 · Assigned by Wordfence
CVE-2022-1707Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
Medium 6.1
In plain English
A medium-severity cross-site scripting in GTM4WP – A Google Tag Manager (GTM) plugin for WordPress from duracelltomi. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 89.3% (higher than 99.8% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| duracelltomi | GTM4WP – A Google Tag Manager (GTM) plugin for WordPress | 0 – through 1.15 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve
- https://github.com/duracelltomi/gtm4wp/issues/224
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707