WPDB Profiling Security & Risk Analysis

wordpress.org/plugins/wpdb-profiling

This plugin will give you the total number of queries to the db per page, as well as the total time it took to render those queries out to the page.

10 active installs v1.3.3 PHP + WP 1.5+ Updated Feb 2, 2010
dbdb-query-totalprofilingqueriesquery
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPDB Profiling Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 16yr ago
Risk Assessment

The wpdb-profiling plugin v1.3.3 exhibits a generally strong security posture with no recorded vulnerabilities and a code base that avoids dangerous functions and external requests. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface, and importantly, all identified SQL queries utilize prepared statements, mitigating the risk of SQL injection. However, a critical concern arises from the output escaping analysis, which indicates that 100% of outputs are not properly escaped. This presents a high risk of cross-site scripting (XSS) vulnerabilities, as unsanitized data displayed to users could contain malicious scripts.

The taint analysis reveals one flow with an unsanitized path, which, while not classified as critical or high, still represents a potential security weakness that could lead to unintended behavior or data leakage if exploited. The presence of capability checks suggests an awareness of access control, but their effectiveness is limited by the other identified issues. The plugin's vulnerability history being empty is a positive sign, but it does not negate the immediate risks identified in the static analysis.

In conclusion, while the plugin has strengths in its limited attack surface and secure SQL handling, the complete lack of output escaping is a major security flaw that must be addressed. The taint analysis also points to areas needing attention. Prioritizing the implementation of proper output escaping is crucial to improving the overall security of this plugin.

Key Concerns

  • All outputs unescaped, high XSS risk
  • Taint flow with unsanitized path
Vulnerabilities
None known

WPDB Profiling Security Vulnerabilities

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

WPDB Profiling Code Analysis

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

Output Escaping

0% escaped10 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
update_profiling_options (wpdb-profiling.php:227)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WPDB Profiling Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionwp_headwpdb-profiling.php:24
actionadmin_headwpdb-profiling.php:25
actionwp_footerwpdb-profiling.php:26
actionadmin_footerwpdb-profiling.php:27
actionwp_headwpdb-profiling.php:443
actionadmin_headwpdb-profiling.php:444
actionwp_footerwpdb-profiling.php:445
actionadmin_footerwpdb-profiling.php:446
actionwp_print_scriptswpdb-profiling.php:456
actionadmin_menuwpdb-profiling.php:476
Maintenance & Trust

WPDB Profiling Maintenance & Trust

Maintenance Signals

WordPress version tested2.9.2
Last updatedFeb 2, 2010
PHP min version
Downloads7K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WPDB Profiling Developer Profile

tierrainnovation

7 plugins · 110 total installs

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

How We Detect WPDB Profiling

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpdb-profiling/wpdb-profiling.css

HTML / DOM Fingerprints

CSS Classes
greenred
FAQ

Frequently Asked Questions about WPDB Profiling