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
#51Captcha Them All213003236k+Output Not Escaped
#52CartFlows – Funnel Builder & Checkout Plugin for WooCommerce21461614200k+Text Domain Mismatch
#53Smart Grid-Layout Design for Contact Form 7211,12673410k+Output Not Escaped
#54Cost Calculator Builder2132276530k+Non Prefixed Variable Found
#55Free Downloads WooCommerce214303594k+Output Not Escaped
#56Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output Not Escaped
#57eRoom – Webinar & Meeting Plugin for Zoom, Google Meet, Microsoft Teams211864379k+Non Prefixed Variable Found
#58ERP: Complete HR, Accounting & CRM Suite with Recruitment and WooCommerce CRM Support218295,9665k+Direct Query
#59EventPrime – Events Calendar, Bookings and Tickets218724,2977k+Non Prefixed Variable Found
#60Feeds for YouTube (YouTube video, channel, and gallery plugin)21558978100k+Output Not Escaped
#61Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More21521,959300k+Non Prefixed Variable Found
#62Campaign Monitor for WordPress213864612k+Non Prefixed Variable Found
#63If-So Dynamic Content – Elementor & All Page Builders Personalization218897257k+Unsafe Printing Function
#64Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)214188511m+Non Prefixed Variable Found
#65MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder211,1333,0112k+Non Prefixed Variable Found
#66Mapster WP Maps213,4402,9033k+Text Domain Mismatch
#67Modular DS: Monitor, update, and backup multiple websites211618140k+Exception Not Escaped
#68MotoPress Hotel Booking213,0611,03710k+Text Domain Mismatch
#69Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4693,33310k+Non Prefixed Variable Found
#70Packeta218023338k+Exception Not Escaped
#71Landing Page Builder – Coming Soon page, Maintenance Mode, Lead Page, WordPress Landing Pages211,1732,9839k+Non Prefixed Variable Found
#72Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction211,9185,06510k+Non Prefixed Hookname Found
#73User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor216961,48350k+Recommended
#74PublishPress Planner – Editorial Calendar, Marketing Content, Kanban Board216038906k+Output Not Escaped
#75Five Star Restaurant Reservations – WordPress Booking Plugin211,0991,14710k+Output Not Escaped
#76Rocket Maintenance Mode & Coming Soon Page211,1761,4064k+Non Prefixed Variable Found
#77Royal Addons for Elementor – Addons and Templates Kit for Elementor2113,0112,530600k+Text Domain Mismatch
#78Professional Social Sharing Buttons, Icons & Related Posts – Shareaholic2132718110k+Output Not Escaped
#79Smart Forms – when you need more than just a contact form217765745k+Output Not Escaped
#80ThirstyAffiliates – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin2119066030k+Non Prefixed Variable Found
#81WCFM – Frontend Manager for WooCommerce214,7215,06720k+Non Prefixed Variable Found
#82Wise Chat214705065k+Output Not Escaped
#83Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools217863,39530k+Non Prefixed Variable Found
#84PPOM – Product Addons & Custom Fields for WooCommerce213361,32520k+Non Prefixed Variable Found
#85Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output Not Escaped
#86WP-Lister Lite for eBay216,6975,1292k+Output Not Escaped
#87WP phpMyAdmin214,5286,43550k+Missing Arg Domain
#88wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin211,3541,14070k+Output Not Escaped
#89Premium Packages – Sell Digital Products Securely212,7652,4443k+Output Not Escaped
#90WPScan – WordPress Security Scanner215272658k+Text Domain Mismatch
#91Frontend Admin by DynamiApps225,9223,20810k+Text Domain Mismatch
#92Advanced Ads – Ad Manager & AdSense22578734100k+Non Prefixed Variable Found
#93Advanced Form Integration — Connect Forms to 200+ Apps225,7714,67810k+wp function not compatible with requires wp
#94Ajax Load More – Infinite Scroll, Load More, & Lazy Load2264159540k+Unsafe Printing Function
#95All-in-One Video Gallery229112,89220k+Non Prefixed Variable Found
#96Booking for Appointments and Events Calendar – Amelia221,48948090k+Exception Not Escaped
#97Shortcodes and extra features for Phlox theme2241342690k+Output Not Escaped
#98Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots221,6042,01910k+Direct Query
#99BuddyPress225839,008100k+Non Prefixed Function Found
#100Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms2249329510k+Text Domain Mismatch