Description
WordPress Plugin Admin Bar User Switching 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 Admin Bar User Switching version 1.0.4 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.0.5 or latest
References
https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage/
https://wordpress.org/plugins/admin-bar-user-switching/changelog/
Related Vulnerabilities
phpMyFAQ Improper Neutralization of Formula Elements in a CSV File Vulnerability (CVE-2018-16651)
WordPress Plugin Slimstat Analytics PHP Object Injection (4.7)
WordPress Plugin Qards Cross-Site Scripting (1.4.3)
PHP Other Vulnerability (CVE-2003-0172)
WordPress 7PK - Security Features Vulnerability (CVE-2014-9039)