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
#2201Extended User Search In WP-Admin5414171k+SQL query is not prepared
#2202MSN Partner Hub5421251k+Missing direct file access protection
#2203AI Agent by SiteGround542861m+Exception output is not escaped
#2204SimplyBook.me – Booking and reservations calendar54311330k+Exception output is not escaped
#2205WP Call Button – Easy Click to Call Button for WordPress54213840k+Non-prefixed global variable
#2206WebinarPress – Webinar System for WordPress5461499900Non-prefixed global variable
#2207Accordions55110120k+slow db query meta query
#2208Easy Quotes551131700Direct Query
#2209Enhanced Category Pages5523252k+Direct Query
#2210Go Live Update Urls55114980k+Non-prefixed hook name
#2211Fast Page & Post Duplicator55122560k+Direct Query
#2212Page Tagger5530102k+Output is not escaped
#2213Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder5554692700k+Non-prefixed hook name
#2214ProductFrame – Curated products from affiliate feeds55385400Direct Query
#2215AI Copilot – ChatGPT Chatbot & AI Engine for Post Automation5665201k+Text Domain Mismatch
#2216Fluent Connect – Connect ThriveCart with your WordPress and FluentCRM563754600curl curl setopt
#2217Subscriptions for WooCommerce with Stripe Recurring Payments5610467800Non-prefixed global variable
#2218WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance5657741m+Non-prefixed global variable
#2219Pantheon Migrations5715261k+Output is not escaped
#2220iConvert Promoter57982172k+Non-prefixed global variable
#2221Internal Link Juicer: SEO Auto Linker for WordPress57126190k+Database parameter is not escaped
#2222iZooto – Web Push Notifications5726251k+wp function not compatible with requires wp
#2223Longer Permalinks5727218k+Missing Arg Domain
#2224Ultimate Member – Terms & Conditions571994k+Output is not escaped
#2225Filter Orders by Product for WooCommerce579214k+Nonce verification recommended
#2226Sequential Order Numbers for WooCommerce5792410k+Interpolated SQL is not prepared
#2227BCM Duplicate Menu588114k+Nonce verification recommended
#2228Contact Form DB for Enfold582114700Output is not escaped
#2229License For Envato5812319k+Non-prefixed global variable
#2230VRTs – Visual Regression Tests5861118900Database parameter is not escaped
#2231WP Healthcheck5837731k+Non-prefixed global variable
#2232Social Media Auto Poster – Schedule & Publish to Buffer58232117k+Dynamic hook name
#2233Age Gator59915400Direct Query
#2234Custom API for WP59173161k+wp function not compatible with requires wp
#2235etracker analytics591691k+Exception output is not escaped
#2236UltraPress – AI Assistant, Chatbot & SEO591238800Non-prefixed global variable
#2237GST Invoice for WooCommerce5910421k+Missing nonce verification
#2238Kubio AI Page Builder602837790k+Missing direct file access protection
#2239Material Design for WordPress6051207800Non-prefixed global variable
#2240Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant60117409k+Non-prefixed global variable
#2241Order Export & Order Import for WooCommerce6024769860k+Non-prefixed global variable
#2242WPSSO Schema Product Metadata for WooCommerce603323500Missing Translators Comment
#2243Academy LMS61185212k+Non-prefixed global variable
#2244CommerceBird – AI Command Center, ERP Integrations & B2B for WooCommerce (Zoho, Exact Online).612162400Direct Query
#2245Newspack Newsletters6153471k+Request data is not unslashed
#2246WP Optin Wheel – Gamified Optin Email Marketing Tool for WordPress and WooCommerce6122741k+Non-prefixed global variable
#2247AAM Protected Media Files621310600Direct Query
#2248Add Meta Tag Keywords626151k+Missing nonce verification
#2249Carousel Slider627130k+Non-prefixed global variable
#2250Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages628110040k+Missing direct file access protection