Primary Blog Switcher for SuperAdmins Security & Risk Analysis

wordpress.org/plugins/primary-blog-switcher-for-superadmins

WordPress multisite network plugin to allow Network Admin to set the "Primary Blog" (aka Primary Site) of a user while editing a profile.

10 active installs v4.6 PHP + WP 3.0+ Updated Unknown
multisitenetworkprimary-blogprimary-siteprofile
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Primary Blog Switcher for SuperAdmins Safe to Use in 2026?

Generally Safe

Score 100/100

Primary Blog Switcher for SuperAdmins has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The primary-blog-switcher-for-superadmins plugin v4.6 exhibits a mixed security posture. On the positive side, it has no known historical vulnerabilities (CVEs) and no reported bundled libraries, which often introduce their own security risks. The plugin also utilizes prepared statements for its single SQL query, which is a strong security practice.

However, the static analysis reveals a concerning lack of security controls. The absence of any nonce checks or capability checks across all entry points is a significant weakness. While the attack surface appears small with zero entry points detected, this can be misleading as the taint analysis shows two flows with unsanitized paths. This suggests that even with a limited entry point count, there's a potential for data manipulation or injection if these paths are ever reached through some indirect means or future code modifications. The moderate escaping rate (53%) for outputs also indicates a potential for cross-site scripting (XSS) vulnerabilities.

In conclusion, while the plugin benefits from a clean vulnerability history and good SQL practices, the lack of fundamental security checks like nonces and capability checks, combined with unsanitized taint flows and imperfect output escaping, presents a notable risk. Developers should prioritize implementing proper authentication and authorization for all potential entry points and thoroughly sanitize all output.

Key Concerns

  • Missing Nonce Checks
  • Missing Capability Checks
  • Unsanitized Paths in Taint Flows
  • Moderate Output Escaping (53%)
Vulnerabilities
None known

Primary Blog Switcher for SuperAdmins Security Vulnerabilities

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

Primary Blog Switcher for SuperAdmins Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

53% escaped19 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
choose_primary_blog (ds_wp3_primary_blog_switcher.php:69)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Primary Blog Switcher for SuperAdmins Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionedit_user_profileds_wp3_primary_blog_switcher.php:25
actionedit_user_profile_updateds_wp3_primary_blog_switcher.php:26
actionmu_rightnow_endds_wp3_primary_blog_switcher.php:27
Maintenance & Trust

Primary Blog Switcher for SuperAdmins Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedUnknown
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

Primary Blog Switcher for SuperAdmins Developer Profile

David Sader

4 plugins · 140 total installs

86
trust score
Avg Security Score
89/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Primary Blog Switcher for SuperAdmins

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
update-nag
HTML Comments
special blog add $special_blog_id to add user to some, well, special blog.
Data Attributes
name="primary_blog"selected="selected"
FAQ

Frequently Asked Questions about Primary Blog Switcher for SuperAdmins