PluginCheck.Security.DirectDB.UnescapedDBParameter

Database parameter is not escaped

A value is passed into database-related code without escaping, preparation, or strict allowlisting.

critical weight

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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#651Spider Elements – Premium Elementor Widgets & Addons Library245421,555500Non-prefixed global variable
#652Spotlight Social Feeds – Block, Shortcode, and Widget2441114760k+Output is not escaped
#653Squad Modules Lite – Free Divi 5 & Divi 4 Modules for Divi Builder246051,4711k+Non-prefixed global variable
#654GEO Plugin by Squirrly SEO241,19522430k+Missing Translators Comment
#655StreamWeasels Online Status Bar245551,349500Non-prefixed global variable
#656StreamWeasels YouTube Integration245441,3841k+Non-prefixed global variable
#657Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe246346529k+Exception output is not escaped
#658Sugar Calendar – Events Calendar, Event Tickets, and Events Management Platform2442895610k+Output is not escaped
#659Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers243601,4721k+Nonce verification recommended
#660Support Genix – Helpdesk, AI Chatbot, Knowledge Base & Customer Support Ticketing System245898972k+Non-prefixed global variable
#661Surbma | GDPR Proof Cookie Consent & Notice Bar248251,309500Non-prefixed global variable
#662Tainacan241385921k+Direct Query
#663Team Members – Multi Language Supported Team Plugin242,08111,2067k+Non-prefixed global variable
#664TI WooCommerce Wishlist24467546100k+Output is not escaped
#665Tiered Pricing Table for WooCommerce246061,99010k+Non-prefixed global variable
#666Timber248512820k+Non-prefixed hook name
#667Tutor LMS – eLearning and online course solution243284,409100k+Non-prefixed global variable
#668Ultra Addons for Contact Form 7241,54345260k+Text Domain Mismatch
#669Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin249382,935200k+Non-prefixed global variable
#670Ultimate Product Catalog245545255k+Unsafe printing function
#671Ultimate WP Mail24400546700Unsafe printing function
#672Unlimited Elements For Elementor247102,093300k+Non-prefixed global variable
#673UpdraftPlus: WP Backup & Migration Plugin242772993m+Non-prefixed global variable
#674User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder246633,35350k+Non-prefixed global variable
#675Vimeography: Vimeo Video Gallery WordPress Plugin24982125k+Nonce verification recommended
#676Visitor Traffic Real Time Statistics2447292730k+Non-prefixed global variable
#677WCMultiShipping — Mondial Relay, Inpost & Chronopost for WooCommerce247334995k+Output is not escaped
#678WC Vendors – WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors241685843k+Non-prefixed class
#679Product Feed Manager for WooCommerce – CTX Feed – Support 220+ Shopping & Social Channels241,6151,38170k+Text Domain Mismatch
#680Disable Updates – Updates Manager, Disable Automatic Updates, Disable All Updates2452213510k+Output is not escaped
#681Widget Detector for Elementor241,0571,5671k+Non-prefixed global variable
#682Conditional Fees for WooCommerce Lite245921,298500Non-prefixed global variable
#683Product Size Charts Plugin for WooCommerce241,0421,4229k+Non-prefixed global variable
#684Extra Fees for WooCommerce241,1131,5697k+Non-prefixed global variable
#685Coupon Affiliates – Affiliate Plugin for WooCommerce249473,1335k+Non-prefixed global variable
#686Premmerce WooCommerce Customers Manager245641,327700Non-prefixed global variable
#687Enhanced Ecommerce Google Analytics for WooCommerce247711,4802k+Non-prefixed global variable
#688XT Floating Cart for WooCommerce241,2492,0234k+Non-prefixed global variable
#689Payment Plugins Braintree For WooCommerce247317552k+Output is not escaped
#690Payment Gateway for PayPal on WooCommerce2416363710k+Non-prefixed hook name
#691Premmerce Permalink Manager for WooCommerce246331,33550k+Non-prefixed global variable
#692Product Attachment for WooCommerce241,2331,7777k+Non-prefixed global variable
#693NextMove Lite – Thank You Page for WooCommerce2491685710k+Non-prefixed global variable
#694wallee24331220400Exception output is not escaped
#695Country Based Payments for WooCommerce245311,2953k+Non-prefixed global variable
#696EU VAT Assistant for WooCommerce241,7424955k+Non Singular String Literal Domain
#697European VAT Compliance Assistant for WooCommerce245153173k+Output is not escaped
#698Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers244801,2727k+Non-prefixed function
#699AgenWebsite Shipping – Plugin Ongkos Kirim & Generate Resi Otomatis Semua Kurir Indonesia241,2611,072500Text Domain Mismatch
#700WPML Multilingual & Multicurrency for WooCommerce241,4531,618100k+SQL query is not prepared