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.
{
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1707.json",
"cna_assigner": "Wordfence"
}{
"cpe": "cpe:2.3:a:gtm4wp:google_tag_manager:*:*:*:*:*:wordpress:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.15"
},
{
"fixed": "1.15.1"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}