Admin Bar User Switching Security & Risk Analysis

wordpress.org/plugins/admin-bar-user-switching

Extends the excellent User Switching plugin by John Blackbourn by adding a User Switching to the admin bar for quick and easy user switching.

2K active installs v1.4 PHP 5.6+ WP 3.1+ Updated May 24, 2022
user-switchingusers
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Admin Bar User Switching Safe to Use in 2026?

Generally Safe

Score 85/100

Admin Bar User Switching has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The 'admin-bar-user-switching' plugin, version 1.4, demonstrates a generally strong security posture based on the provided static analysis. A key strength is its complete reliance on prepared statements for all SQL queries and the presence of both nonce and capability checks for its single AJAX entry point, indicating good practice in preventing common web vulnerabilities. The absence of file operations, external HTTP requests, and dangerous functions further bolsters its security. The lack of any recorded CVEs and taint analysis issues further suggests a well-maintained and secure codebase.

While the plugin exhibits many positive security characteristics, a minor concern exists with output escaping. With 8 total outputs and 75% properly escaped, there's a possibility of one output being unescaped. Although the static analysis doesn't explicitly flag this as a vulnerability, it represents a potential area for improvement and a small risk of cross-site scripting (XSS) if the unescaped output contains user-controlled data. The small attack surface and lack of critical vulnerabilities in its history are very positive indicators, but this minor oversight in output escaping is the only area that prevents a perfect security score.

Key Concerns

  • One unescaped output identified
Vulnerabilities
None known

Admin Bar User Switching Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Admin Bar User Switching Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
2
6 escaped
Nonce Checks
1
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

75% escaped8 total outputs
Attack Surface

Admin Bar User Switching Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_abus_user_searchincludes\Controllers\AdminBar.php:19
WordPress Hooks 9
actionadmin_noticesincludes\Admin\Notice.php:15
actionwp_before_admin_bar_renderincludes\Integrations\WordPress\AdminBar.php:18
actioninitincludes\Plugin.php:22
actioninitincludes\Plugin.php:23
actionadmin_enqueue_scriptsincludes\Plugin.php:24
actionwp_enqueue_scriptsincludes\Plugin.php:25
actionwp_headincludes\Plugin.php:26
actionadmin_headincludes\Plugin.php:27
filterplugin_row_metaincludes\Plugin.php:28
Maintenance & Trust

Admin Bar User Switching Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedMay 24, 2022
PHP min version5.6
Downloads49K

Community Trust

Rating96/100
Number of ratings12
Active installs2K
Developer Profile

Admin Bar User Switching Developer Profile

Saad Iqbal

84 plugins · 1.4M total installs

76
trust score
Avg Security Score
96/100
Avg Patch Time
287 days
View full developer profile
Detection Fingerprints

How We Detect Admin Bar User Switching

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/admin-bar-user-switching/assets/js/abus_script.js
Script Paths
/wp-content/plugins/admin-bar-user-switching/assets/js/abus_script.js
Version Parameters
admin-bar-user-switching/assets/js/abus_script.js?ver=

HTML / DOM Fingerprints

CSS Classes
abus_search_textabus_search_submit
Data Attributes
data-url
JS Globals
abus_ajax
FAQ

Frequently Asked Questions about Admin Bar User Switching