
Run SQL Query Security & Risk Analysis
wordpress.org/plugins/run-sql-queryRun SQL Query is a simple plugin to quickly execute any type of SQL query into the WordPress's DB and export the results in a CSV format file.
Is Run SQL Query Safe to Use in 2026?
Generally Safe
Score 85/100Run SQL Query has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "run-sql-query" plugin v1.0.0 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by exclusively using prepared statements for its SQL queries and avoids file operations or external HTTP requests. The absence of known CVEs and a clean vulnerability history also suggest a generally stable codebase up to this point. However, a significant concern arises from the presence of one unprotected AJAX handler, which represents a direct entry point into the plugin's functionality without any authentication or authorization checks. While no critical taint flows were detected and dangerous functions are absent, this unprotected AJAX handler creates a potential avenue for unauthorized actions if malicious data can be passed to it.
Despite the lack of historical vulnerabilities, the single unprotected AJAX endpoint is a glaring weakness. It's crucial for plugins to implement proper nonce and capability checks on all AJAX actions to prevent cross-site request forgery (CSRF) and unauthorized privilege escalation. The plugin's static analysis shows a nonce check exists, but its application to the unprotected AJAX handler is not explicitly stated and is a critical omission if not properly implemented. In conclusion, while the plugin has avoided major security pitfalls historically and in its core SQL handling, the unprotected AJAX handler introduces a tangible risk that requires immediate attention to ensure robust security.
Key Concerns
- Unprotected AJAX handler
- Output escaping partially insufficient
Run SQL Query Security Vulnerabilities
Run SQL Query Code Analysis
Output Escaping
Run SQL Query Attack Surface
AJAX Handlers 1
WordPress Hooks 3
Maintenance & Trust
Run SQL Query Maintenance & Trust
Maintenance Signals
Community Trust
Run SQL Query Alternatives
WP phpMyAdmin
wp-phpmyadmin-extension
[ ✅ 𝐒𝐄𝐂𝐔𝐑𝐄 𝐏𝐋𝐔𝐆𝐈𝐍𝐒 𝐵𝓎 𝒫𝓊𝓋𝑜𝓍 ] phpMyAdmin - Database Browser & Manager (for MySQL & MariaDB)
Database Manager – WP Adminer
pexlechris-adminer
Manage the database from your WordPress Dashboard using Adminer.
SQL Executioner
sql-executioner
Execute arbitrary SQL queries against your WordPress database from the Admin.
DB Viewer
db-viewer
View your WordPress database directly inside your Dashboard. No need for phpMyAdmin or hosting panels.
Database Backup for WordPress
wp-db-backup
Database Backup for WordPress is your one-stop database backup solution for WordPress.
Run SQL Query Developer Profile
1 plugin · 700 total installs
How We Detect Run SQL Query
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/run-sql-query/admin/css/run-sql-query-admin.css/wp-content/plugins/run-sql-query/admin/js/run-sql-query-admin.js/wp-content/plugins/run-sql-query/admin/js/jquery.jsontotable.min.js/wp-content/plugins/run-sql-query/admin/js/run-sql-query-admin.js/wp-content/plugins/run-sql-query/admin/js/jquery.jsontotable.min.jsrun-sql-query/css/run-sql-query-admin.css?ver=run-sql-query/js/run-sql-query-admin.js?ver=jquery.jsontotable.min.js?ver=