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
WordPress Plugin Payment Form for PayPal Pro SQL Injection (1.1.64)
WordPress Plugin VDZ Google Analytics or Google Tag Manager/GTM Cross-Site Scripting (1.5.5)
WordPress Plugin Extensive VC Addons for WPBakery page builder Local File Inclusion (1.9)
Django Allocation of Resources Without Limits or Throttling Vulnerability (CVE-2024-53907)
WordPress Plugin SMS Alert Order Notifications-WooCommerce Cross-Site Scripting (3.4.6)