SharDB Security & Risk Analysis

wordpress.org/plugins/shardb

Implements a MD5 hash based multiple database sharding structure for WordPress network blog tables.

10 active installs v2.7.7 PHP + WP 4.7+ Updated Jun 29, 2014
databasemultiplemultisitesharding
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is SharDB Safe to Use in 2026?

Generally Safe

Score 85/100

SharDB has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "shardb" plugin v2.7.7 exhibits a generally strong security posture based on this static analysis. The absence of any identified CVEs, coupled with the lack of critical or high-severity taint flows and dangerous function usage, is highly positive. The plugin also has a very limited attack surface, with no exposed AJAX handlers, REST API routes, shortcodes, or cron events, which significantly reduces the potential for external exploitation.

However, there are areas for improvement. The output escaping rate is quite low at 29%, indicating a significant risk of cross-site scripting (XSS) vulnerabilities if user-supplied data is not properly sanitized before being displayed. While there's only one capability check, it's unclear if this is sufficient for all potential operations within the plugin, and the lack of nonce checks on any potential entry points (though none were detected in this analysis) could be a concern if the attack surface grows in future versions. The moderate percentage of SQL queries not using prepared statements also presents a risk of SQL injection, albeit less severe than unescaped output or unauthenticated entry points.

In conclusion, "shardb" v2.7.7 appears to be a relatively secure plugin with a well-controlled attack surface and no known historical vulnerabilities. The primary weaknesses lie in the insufficient output escaping and the potential for SQL injection due to non-prepared statements. Addressing these areas would further harden the plugin's security.

Key Concerns

  • Low output escaping rate
  • SQL queries not using prepared statements
Vulnerabilities
None known

SharDB Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

SharDB Release Timeline

v2.8.1
v2.8
v2.7.7Current
v2.7.6
v2.7.5
v2.7.4
v2.7.3
Code Analysis
Analyzed Mar 16, 2026

SharDB Code Analysis

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

SQL Query Safety

50% prepared12 total queries

Output Escaping

29% escaped21 total outputs
Attack Surface

SharDB Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterwpmu_blogs_columnsshardb-admin.php:48
actionmanage_sites_custom_columnshardb-admin.php:58
actionnetwork_admin_menushardb-admin.php:144
Maintenance & Trust

SharDB Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedJun 29, 2014
PHP min version
Downloads8K

Community Trust

Rating80/100
Number of ratings4
Active installs10
Developer Profile

SharDB Developer Profile

Ron Rennick

13 plugins · 1K total installs

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

How We Detect SharDB

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about SharDB