CVE-2022-1707
Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782https://github.com/duracelltomi/gtm4wp/issues/224https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cvehttps://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707