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.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.15.2 or latest
References
https://gist.github.com/Xib3rR4dAr/02a21cd0ea0b7bf586131c5eebb69f1d
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961
https://plugins.svn.wordpress.org/duracelltomi-google-tag-manager/trunk/readme.txt
Related Vulnerabilities
WordPress Plugin PHP Event Calendar for WordPress Arbitrary File Upload (1.6)
WordPress Plugin Product Addons & Fields for WooCommerce Arbitrary File Upload (1.1)
WordPress Plugin WordPress Landing Pages Unspecified Vulnerability (2.2.6)
WordPress Plugin Contact Form Email Information Disclosure (1.2.66)
Spring Cloud Gateway Improper Certificate Validation Vulnerability (CVE-2022-22946)