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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Plugin Check (PCP)012813210k+Exception output is not escaped
#3Themify Builder95,1952,0965k+Text Domain Mismatch
#4JetBackup – Backup, Restore & Migrate101,559145100k+Exception output is not escaped
#5Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more1532163500k+Direct Query
#6AnyComment174454495k+Output is not escaped
#7JetFormBuilder — Dynamic Blocks Form Builder172,0941,58890k+Text Domain Mismatch
#8wpForo Forum174,0332,92220k+Unsafe printing function
#9WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#10Prime Slider Addons for Elementor183,500230100k+Text Domain Mismatch
#11Podlove Podcast Publisher182,3261,4293k+Output is not escaped
#12Property Hive181,9576,0273k+Missing nonce verification
#13Shopping Cart & eCommerce Store185,45917,2984k+Non-prefixed global variable
#14WP Import Export Lite1873897940k+Non-prefixed global variable
#15WP Directory Kit182,1192,6172k+Non-prefixed global variable
#16Element Pack – Widgets, Templates & Addons for Elementor199,448517100k+Text Domain Mismatch
#17Block Slider – Responsive Image Slider, Video Slider & Post Slider195551,2913k+Non-prefixed global variable
#18Download Monitor194251,36480k+Non-prefixed hook name
#19Event Organiser191,10654420k+Text Domain Mismatch
#20Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+Exception output is not escaped
#21Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,22810k+Output is not escaped
#22Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,909878100k+Exception output is not escaped
#23Search Atlas SEO – Premier SEO Plugin for One-Click WP Publishing & Integrated AI Optimization191,2952,6799k+Output is not escaped
#24Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195413853m+Missing Translators Comment
#25Membership Plugin – Kadence Memberships195,0822,9829k+Text Domain Mismatch
#26Scrollsequence – Cinematic Scroll Image Animation Plugin198781,5284k+Non-prefixed global variable
#27SendPress Newsletters192,2931,4222k+Output is not escaped
#28SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments195261,11990k+Non-prefixed global variable
#29WP Email Template193423502k+Exception output is not escaped
#30BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot205081,40630k+Non-prefixed global variable
#31Brizy – Page Builder2058972070k+Output is not escaped
#32Filter Everything — WordPress & WooCommerce Filters2056873050k+Output is not escaped
#33GiveWP – Donation Plugin and Fundraising Platform203,4353,580100k+Output is not escaped
#34Link Library201,9411,39710k+Unsafe printing function
#35MBE eShip205277401k+Non-prefixed global variable
#36Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+Request data is not unslashed
#37MAS Videos205191,6931k+Non-prefixed global variable
#38Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#39Nimble Page Builder201,5911,68430k+Missing Arg Domain
#40Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#41Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#42Quill Forms | Conversational Multi Step Forms, Surveys & quizzes204013683k+Text Domain Mismatch
#43Remove Add to Cart WooCommerce206161,3784k+Non-prefixed global variable
#44Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20557541100k+Output is not escaped
#45SpeakOut! Email Petitions208509943k+Missing nonce verification
#46Trace My IP – Visitor IP Tracker, Stats Analytics & Page Views Counter with Email Alerts208663381k+wp function not compatible with requires wp
#47Razorpay for WooCommerce20974855100k+Non-prefixed function
#48WPJAM Basic203283564k+Output is not escaped
#49Store Locator WordPress212,3721,57210k+Text Domain Mismatch
#50Backup Migration219811,09380k+Non-prefixed global variable