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
#851phpinfo() WP — Site Health, PHP Compatibility & Server Audit252767043k+Non-prefixed global variable
#852Plover Kit – Blocks, Patterns, Responsive Layout and Gutenberg Editor Enhancements256851,3823k+Non-prefixed global variable
#853Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls254881,4127k+Non-prefixed global variable
#854Post Carousel Divi256861,3012k+Non-prefixed global variable
#855Post Snippets – Custom WordPress Code Snippets Customizer258081,65420k+Non-prefixed global variable
#856Premmerce257121,411500Non-prefixed global variable
#857Premmerce Redirect Manager257561,407500Non-prefixed global variable
#858Premmerce Product Search for WooCommerce255961,350900Non-prefixed global variable
#859Premmerce Wholesale Pricing for WooCommerce256351,377400Non-prefixed global variable
#860Quiz Maker by AYS255053,02320k+Non-prefixed global variable
#861Quttera ThreatSign – Web Malware Scanner for WordPress2533447110k+Non-prefixed global variable
#862Qyrr – simply and modern QR-Code creation255311,3122k+Non-prefixed global variable
#863Rate limiting for Contact Form 7255471,306500Non-prefixed global variable
#864Really Simple Featured Video – Featured Video Support for Posts, Pages & WooCommerce Products258111,4945k+Non-prefixed global variable
#865reSmush.it : The original free image compressor and optimizer plugin2515569100k+Output is not escaped
#866Restrict – membership, site, content and user access restrictions for WordPress255391,4012k+Non-prefixed global variable
#867The School Management – Education & Learning ERP2512,858800Non-prefixed global variable
#868Secure Copy Content Protection and Content Locking2595879920k+Output is not escaped
#869Sensei LMS – Online Courses, Quizzes, & Learning255692810k+Nonce verification recommended
#870SEO Booster253931,4681k+Non-prefixed global variable
#871Seo Optimized Images255261,31610k+Non-prefixed global variable
#872SEO Repair Kit – Meta Manager, Schema Manager, SEO Content Monitoring, GSC Integration, Keyword & Rank Tracking251969022k+Direct Query
#873ShopMagic – email automation2522814510k+Exception output is not escaped
#874Simple Link Directory – AI Powered251334202k+Non-prefixed global variable
#875SimpLy Gallery255321,42240k+Non-prefixed global variable
#876Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin2595873860k+Text Domain Mismatch
#877Simply Static – The Static Site Generator2516544830k+Non-prefixed hook name
#878Affiliate Program Suite — SliceWP Affiliates251,2912,08910k+Output is not escaped
#879Smart Image Resize for WooCommerce255824047k+Text Domain Mismatch
#880Smart Manager – Advanced WooCommerce Bulk Edit & Inventory Management2536692310k+SQL query is not prepared
#881Smart phone field for Gravity Forms255401,3166k+Non-prefixed global variable
#882Spice Blocks255361,3001k+Non-prefixed global variable
#883STAGGS – Product Configurator Toolkit256262,180400Non-prefixed global variable
#884Stylish Cost Calculator – Quote Generator, Lead Gen & Price Estimator256481,0211k+Output is not escaped
#885SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent254321,35710k+Direct Query
#886SureDash – Community, Courses & Member Dashboard254228051k+Non-prefixed global variable
#887OttoKit: All-in-One Automation Platform251,5361,82590k+Missing direct file access protection
#888Survey Maker by AYS255672,3976k+Non-prefixed global variable
#889TablePress – Tables in WordPress made easy258472,174600k+Non-prefixed global variable
#890Taskbuilder – Project Management & Task Management Tool With Kanban Board251274,332800Non-prefixed global variable
#891Tax Exemption for WooCommerce255521,402700Non-prefixed global variable
#892TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder257051,58710k+Non-prefixed global variable
#893Toocheke Companion254091,1141k+Non-prefixed global variable
#894Travelly – Tour & Travel Booking Manager for WooCommerce | Tour & Hotel Booking Solution251737261k+Non-prefixed global variable
#895Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin251192,7042k+Non-prefixed global variable
#896TrackShip for WooCommerce254219576k+Non-prefixed global variable
#897TranslatePress – Translate Multilingual sites with AI Translation254551,545400k+Non-prefixed function
#898TrueBooker – Appointment Booking and Scheduler System255292,746600Non-prefixed global variable
#899Spectra Gutenberg Blocks – Website Builder for the Block Editor252533,2271m+Non-prefixed global variable
#900Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor256911,58150k+Non-prefixed global variable