CVE-2022-1707
Gtm4wp Google Tag Manager vulnerability
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
Google Tag Manager. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gtm4wp Google Tag Manager runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?sou · Third Party Advisory
- www.wordfence.com/vulnerability-advisories/#CVE-2022-1707 · Third Party Advisory
- github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298
- github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782
- github.com/duracelltomi/gtm4wp/issues/224
- nvd.nist.gov/vuln/detail/CVE-2022-1707
- cve.org/CVERecord?id=CVE-2022-1707
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.