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
#1101Media Hygiene: Remove or Delete Unused Images and More!286543095k+Non Singular String Literal Domain
#1102My auctions allegro28483235500Non Singular String Literal Domain
#1103My Sticky Bar – Floating Notification Bar & Sticky Header (formerly myStickymenu)28164441100k+Non-prefixed global variable
#1104Order Tracking – WordPress Status Tracking Plugin286197733k+Unsafe printing function
#1105PDF for Contact Form 7 + Drag and Drop Template Builder28674101500wp function not compatible with requires wp
#1106ووکامرس فارسی2815721590k+Output is not escaped
#1107افزونه حمل و نقل ووکامرس | پست پیشتاز، تیپاکس و پیک موتوری2813119020k+Missing nonce verification
#1108Pixel Gallery Addons for Elementor – Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery281462595k+Post Not In exclude
#1109Pixelgrade Assistant281,3481602k+Text Domain Mismatch
#1110Podcast Importer SecondLine283561694k+Text Domain Mismatch
#1111Product Sync for WooCommerce28158375400Direct Query
#1112Query Wrangler28628229700Output is not escaped
#1113Rating by BestWebSoft28509218400Text Domain Mismatch
#1114ReDi Restaurant Reservation – Instant Restaurant Booking & Table Reservation System281,013239800Unsafe printing function
#1115Responsive Lightbox & Gallery28139513100k+Non-prefixed hook name
#1116Secure Downloads28616406600Output is not escaped
#1117Praison AI SEO286493061k+Text Domain Mismatch
#1118Transliterator – Multilingual and Multi-script Text Conversion283053223k+Output is not escaped
#1119Slider Pro285835274k+Unsafe printing function
#1120Tab – Accordion, FAQ281045421k+Non-prefixed global variable
#1121Terms descriptions282224231k+Non-prefixed function
#1122Themesflat Addons For Elementor2871422740k+Output is not escaped
#1123Jetpack VaultPress287136210k+Missing nonce verification
#1124VG WORT METIS28150317900Nonce verification recommended
#1125WC Fields Factory281943697k+Nonce verification recommended
#112610WebSocial2858418510k+Unsafe printing function
#1127WP ADA Compliance Check Basic287851773k+Text Domain Mismatch
#1128WP Booking System – Booking Calendar2850254920k+Output is not escaped
#1129Connect Matomo – Analytics Dashboard for WordPress2810010260k+Missing Translators Comment
#1130WhyDonate – FREE Donate button – Crowdfunding – Fundraising28216328800Non-prefixed global variable
#1131WPS Bidouille2847221510k+Output is not escaped
#1132WP Synchro – The Ultimate WordPress Migration Tool282432442k+Missing Translators Comment
#1133WxSync-标准云微信公众号文章免费采集-任意公众号自动采集付费购买2857138500Request data is not unslashed
#1134Accordion Slider293914472k+Unsafe printing function
#1135AL Pack29138162k+Non-prefixed global variable
#1136Alt Text AI – Automatically generate image alt text for SEO and accessibility297228020k+Non-prefixed global variable
#1137Attribute Stock for WooCommerce – Shared Stock & Variable Quantities (Lite Version)294813132k+Text Domain Mismatch
#1138Bitcoin Payments – Blockonomics292082272k+Output is not escaped
#1139Plugin BlueX for WooCommerce294312162k+Text Domain Mismatch
#1140Integration for Salesforce and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms292363692k+Non-prefixed global variable
#1141Chained Quiz291,1327211k+Text Domain Mismatch
#1142CloudSecure WP Security2974350100k+Request data is not unslashed
#1143Countdown, Coming Soon, Maintenance – Countdown & Clock291,73514310k+Non Singular String Literal Domain
#1144Custom Field Template2956853030k+wp function not compatible with requires wp
#1145Document Gallery29183988k+Output is not escaped
#1146ECPay Ecommerce for WooCommerce292483702k+Missing nonce verification
#1147FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider297478600k+Missing Translators Comment
#1148Gianism29391154700Text Domain Mismatch
#1149reCaptcha by BestWebSoft29474272100k+Text Domain Mismatch
#1150Easy HTTPS Redirection (SSL)29266152100k+Unsafe printing function