SQLog Security & Risk Analysis

wordpress.org/plugins/sqlog

Log WordPress MySQL queries in csv file (and log file). Useful when you need to improve the performance or debug something.

10 active installs v1.0.0 PHP 5.6+ WP 4.8+ Updated Jun 16, 2022
mysqlqueriesquerysqlwordpress
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is SQLog Safe to Use in 2026?

Generally Safe

Score 85/100

SQLog 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 sqlog plugin v1.0.0 demonstrates a generally good security posture based on the provided static analysis. The complete absence of AJAX handlers, REST API routes, and shortcodes, combined with the fact that all entry points are protected by authentication checks, significantly reduces the attack surface. Furthermore, the plugin exclusively uses prepared statements for SQL queries and incorporates nonce and capability checks, which are strong indicators of secure coding practices. The lack of any recorded vulnerabilities, including CVEs and common vulnerability types, further supports this positive assessment. However, a notable area for improvement lies in output escaping, where only 51% of outputs are properly escaped, leaving nearly half potentially vulnerable to cross-site scripting (XSS) attacks. While taint analysis shows no current exploitable flows, this unescaped output represents a latent risk that should be addressed.

Despite the strong foundation in protecting its limited attack surface and database interactions, the significant portion of unescaped output represents the primary security concern. The plugin's history of zero vulnerabilities is a positive signal, suggesting diligent development or a lack of historical exposure. The overall security of sqlog v1.0.0 is good, with its strengths in authentication and SQL handling outweighing its weaknesses. However, addressing the output escaping is crucial to achieving a robust security profile and mitigating potential XSS vulnerabilities.

Key Concerns

  • Poor output escaping
Vulnerabilities
None known

SQLog Security Vulnerabilities

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

SQLog Code Analysis

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

Output Escaping

51% escaped45 total outputs
Attack Surface

SQLog Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 19
actionadmin_initclasses\class-sqlog.php:14
actionadmin_initclasses\class-sqlog.php:15
actionadmin_initclasses\class-sqlog.php:16
actioninitclasses\class-sqlog.php:18
actioninitclasses\class-sqlog.php:19
actionadmin_menuclasses\class-sqlog.php:21
actionadmin_enqueue_scriptsclasses\class-sqlog.php:22
actionadmin_enqueue_scriptsclasses\class-sqlog.php:23
actionwpclasses\class-sqlog.php:25
actionwp_enqueue_scriptsclasses\class-sqlog.php:26
actionwp_enqueue_scriptsclasses\class-sqlog.php:27
actionwp_headclasses\class-sqlog.php:28
actionadd_option_sqlog_settings_updateclasses\class-sqlog.php:30
actionupdate_option_sqlog_settings_updateclasses\class-sqlog.php:31
actionsqlog_cron_process_purge_logsclasses\class-sqlog.php:32
actionshutdownclasses\class-sqlog.php:33
filtercron_schedulesclasses\class-sqlog.php:35
filterquery_varsclasses\class-sqlog.php:37
filterplugin_action_links_sqlog/sqlog.phpclasses\class-sqlog.php:39

Scheduled Events 1

sqlog_cron_process_purge_logs
Maintenance & Trust

SQLog Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 16, 2022
PHP min version5.6
Downloads788

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

SQLog Developer Profile

xuxu.fr

4 plugins · 180 total installs

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

How We Detect SQLog

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/sqlog/assets/css/sqlog-admin.css/wp-content/plugins/sqlog/assets/js/sqlog-admin.js/wp-content/plugins/sqlog/assets/css/sqlog-public.css/wp-content/plugins/sqlog/assets/js/sqlog-public.js
Script Paths
/wp-content/plugins/sqlog/assets/js/sqlog-admin.js/wp-content/plugins/sqlog/assets/js/sqlog-public.js
Version Parameters
sqlog/assets/css/sqlog-admin.css?ver=sqlog/assets/js/sqlog-admin.js?ver=sqlog/assets/css/sqlog-public.css?ver=sqlog/assets/js/sqlog-public.js?ver=

HTML / DOM Fingerprints

CSS Classes
sqlog-admin-wrappersqlog-public-wrapper
HTML Comments
<!-- BEGIN SQLog --><!-- END SQLog -->
Data Attributes
data-sqlog-urldata-sqlog-target
JS Globals
sqlog_admin_paramssqlog_public_params
REST Endpoints
/wp-json/sqlog/v1/logs
Shortcode Output
[sqlog_display_logs]
FAQ

Frequently Asked Questions about SQLog