PluginCheck.Security.DirectDB.UnescapedDBParameter
Database parameter is not escaped
A value is passed into database-related code without escaping, preparation, or strict allowlisting.
Why It Shows Up
Plugin Check found a database parameter that appears to come from dynamic input without the usual `$wpdb->prepare()` protection.
Why It Matters
Database parameters often influence queries directly. Unsafe values can corrupt data access or create SQL injection risk.
How to Fix
- Use `$wpdb->prepare()` for values.
- Use explicit allowlists for table names, column names, order fields, and directions.
- Sanitize and validate request data before it reaches query construction.
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #2001 | FameTheme Demo Importer | 40 | 8 | 74 | 30k+ | Nonce verification recommended | ||
| #2002 | FAQ Concertina | 40 | 43 | 16 | 600 | Output is not escaped | ||
| #2003 | Invisible Anti-Spam & CAPTCHA — reCAPTCHA Alternative for All Forms | 40 | 272 | 4k+ | Direct Query | |||
| #2004 | GetPaid > Item Inventory | 40 | 112 | 52 | 400 | Text Domain Mismatch | ||
| #2005 | Product Enquiry for WooCommerce | 40 | 57 | 41 | 3k+ | Output is not escaped | ||
| #2006 | Hostinger Reach – AI-Powered Email Marketing for WordPress | 40 | 9 | 45 | 1m+ | Direct Query | ||
| #2007 | iNext Woo Pincode Checker | 40 | 36 | 82 | 700 | Missing nonce verification | ||
| #2008 | Internal Linking of Related Contents | 40 | 714 | 47 | 1k+ | Output is not escaped | ||
| #2009 | Invite Anyone | 40 | 32 | 130 | 1k+ | Non-prefixed hook name | ||
| #2010 | Links shortcode | 40 | 73 | 13 | 900 | Unsafe printing function | ||
| #2011 | WP All Import – Listings Import for Listify | 40 | 34 | 27 | 400 | Output is not escaped | ||
| #2012 | LJ Multi Column Archive | 40 | 17 | 25 | 1k+ | Output is not escaped | ||
| #2013 | LLM Bot Tracker – AI Crawler Detection & Analytics | 40 | 18 | 90 | 800 | Database parameter is not escaped | ||
| #2014 | Mass Email To Users | 40 | 84 | 81 | 800 | Output is not escaped | ||
| #2015 | Multiple Featured Images | 40 | 50 | 22 | 5k+ | Output is not escaped | ||
| #2016 | NextGEN Gallery Sidebar Widget | 40 | 59 | 10 | 500 | Output is not escaped | ||
| #2017 | Page Comments Off Please | 40 | 17 | 29 | 1k+ | Nonce verification recommended | ||
| #2018 | Paystack MemberPress | 40 | 71 | 76 | 400 | Output is not escaped | ||
| #2019 | Quiz Cat – WordPress Quiz Plugin | 40 | 151 | 69 | 4k+ | Output is not escaped | ||
| #2020 | Random Banner | 40 | 59 | 125 | 1k+ | Output is not escaped | ||
| #2021 | REST API Custom Fields | 40 | 44 | 16 | 800 | Text Domain Mismatch | ||
| #2022 | Role Based Redirect | 40 | 20 | 96 | 2k+ | Non-prefixed global variable | ||
| #2023 | Search Live | 40 | 132 | 71 | 600 | Output is not escaped | ||
| #2024 | Select Post Export | 40 | 51 | 18 | 500 | Output is not escaped | ||
| #2025 | Show Pages URL List | 40 | 29 | 234 | 1k+ | Non-prefixed global variable | ||
| #2026 | Simple Statistics for Feeds | 40 | 64 | 131 | 800 | Nonce verification recommended | ||
| #2027 | Statify Widget | 40 | 52 | 13 | 4k+ | Output is not escaped | ||
| #2028 | Thin Out Revisions | 40 | 93 | 35 | 800 | Non Singular String Literal Domain | ||
| #2029 | Timeline History | 40 | 31 | 17 | 500 | Output is not escaped | ||
| #2030 | UTM Leads Tracker – XLPlugins | 40 | 21 | 38 | 400 | Output is not escaped | ||
| #2031 | WC Search Orders By Product | 40 | 47 | 66 | 800 | Nonce verification recommended | ||
| #2032 | Webo-facto | 40 | 41 | 102 | 1k+ | Nonce verification recommended | ||
| #2033 | NP Quote Request for WooCommerce | 40 | 91 | 145 | 9k+ | Non-prefixed global variable | ||
| #2034 | Total Sales Counts for WooCommerce | 40 | 121 | 62 | 700 | SQL query is not prepared | ||
| #2035 | Wallet for WooCommerce | 40 | 32 | 524 | 20k+ | Non-prefixed hook name | ||
| #2036 | Word Balloon | 40 | 20 | 125 | 10k+ | Request data is not unslashed | ||
| #2037 | WP All Import – Job Listing Import for WP Job Manager | 40 | 35 | 27 | 2k+ | Output is not escaped | ||
| #2038 | WP Multisite Content Copier/Updater | 40 | 19 | 144 | 800 | Interpolated SQL is not prepared | ||
| #2039 | WP Reroute Email | 40 | 141 | 106 | 1k+ | Output is not escaped | ||
| #2040 | WPS Menu Exporter | 40 | 47 | 22 | 10k+ | Output is not escaped | ||
| #2041 | Yektanet Ecommerce | 40 | 45 | 103 | 1k+ | Request data is not unslashed | ||
| #2042 | Antispam | 41 | 11 | 41 | 400 | Missing nonce verification | ||
| #2043 | AxiaChat AI – Free AI Chatbot (Answers Customers Automatically) | 41 | 1 | 135 | 2k+ | Interpolated SQL is not prepared | ||
| #2044 | Cache control by Cacholong | 41 | 87 | 30 | 500 | Non Singular String Literal Domain | ||
| #2045 | CMS Tree Page View – Reorder Pages with a Drag-and-Drop Tree | 41 | 121 | 96 | 50k+ | Unsafe printing function | ||
| #2046 | Collapsed Archives | 41 | 54 | 4 | 1k+ | Output is not escaped | ||
| #2047 | Duplicate Post Page Menu & Custom Post Type | 41 | 35 | 11 | 10k+ | Text Domain Mismatch | ||
| #2048 | Duplicate Page and Post | 41 | 26 | 21 | 80k+ | Unsafe printing function | ||
| #2049 | SNORDIAN's H5PxAPIkatchu | 41 | 119 | 88 | 500 | SQL query is not prepared | ||
| #2050 | Hash Form – Drag & Drop Form Builder | 41 | 9 | 275 | 3k+ | Non-prefixed global variable |