{"id":"CVE-2022-1707","published":"2022-06-13T12:45:36Z","modified":"2026-04-08T16:33:07Z","title":"Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search","vendor":"duracelltomi","product":"GTM4WP – A Google Tag Manager (GTM) plugin for WordPress","tier":"core","eol":null,"affectedVersions":[{"vendor":"duracelltomi","product":"GTM4WP – A Google Tag Manager (GTM) plugin for WordPress","versions":["<= 1.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:13:31.315842Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Google Tag Manager for WordPress (GTM4WP) plugin, in versions up to and including 1.15, contains a reflected cross-site scripting flaw in its frontend code, where the site search parameter \"s\" is written into the data layer without sufficient sanitisation. An unauthenticated attacker can exploit this by getting a user to open a crafted link or visit a page containing it, which injects script that runs in the victim's browser session on the affected site.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:45:59Z"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.89276,"percentile":0.99787,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve","tags":[]},{"url":"https://github.com/duracelltomi/gtm4wp/issues/224","tags":[]},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298","tags":[]},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782","tags":[]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-24991","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-24991","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-06-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-1707","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":24.2,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9979"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":4.27,"detail":"base score 6.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}