Description
WordPress Plugin GTM4WP is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin GTM4WP version 1.15 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.15.1 or latest
References
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707
https://plugins.svn.wordpress.org/duracelltomi-google-tag-manager/trunk/readme.txt
Related Vulnerabilities
MyBB Other Vulnerability (CVE-2007-1964)
WordPress 5.2.x Multiple Vulnerabilities (5.2 - 5.2.4)
Jboss EAP Permissions, Privileges, and Access Controls Vulnerability (CVE-2011-2196)
Moodle CVE-2024-34002 Vulnerability (CVE-2024-34002)
WordPress Plugin Smooth Scroll Page Up/Down Buttons Cross-Site Scripting (1.3)