{"id":"CVE-2022-1707","state":"PUBLISHED","title":"Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search","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.","publishedAt":"2022-06-13T12:45:36.000Z","updatedAt":"2026-04-08T16:33:07.016Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress"],"affected":[{"vendor":"duracelltomi","product":"GTM4WP – A Google Tag Manager (GTM) plugin for WordPress","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.15","versionType":"semver"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:29.138Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/1xxx/CVE-2022-1707.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-1707","state":"PUBLISHED","datePublished":"2022-06-13T12:45:36.000Z","dateUpdated":"2026-04-08T16:33:07.016Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2022-05-13T00:00:00.000Z"},"containers":{"cna":{"title":"Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search","descriptions":[{"lang":"en","value":"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":[{"vendor":"duracelltomi","product":"GTM4WP – A Google Tag Manager (GTM) plugin for WordPress","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.15","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve"},{"url":"https://github.com/duracelltomi/gtm4wp/issues/224"},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298"},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782"},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T16:33:07.016Z"},"credits":[{"lang":"en","type":"finder","value":"Cory Buecker"},{"lang":"en","type":"finder","value":"not_stoppable"}],"timeline":[{"time":"2022-05-19T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve","tags":["x_transferred"]},{"url":"https://github.com/duracelltomi/gtm4wp/issues/224","tags":["x_transferred"]},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298","tags":["x_transferred"]},{"url":"https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782","tags":["x_transferred"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T00:10:03.914Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T13:13:31.315842Z","id":"CVE-2022-1707","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-05T16:41:32.912Z"}}]}}}