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
#901Ultimate Post Kit Addons for Elementor2518241230k+Missing nonce verification
#9023D viewer by Visody258321,3221k+Non-prefixed global variable
#903WC Disable Zoom / Lightbox features255291,297700Non-prefixed global variable
#904Product Customer List for WooCommerce256101,3349k+Non-prefixed global variable
#905weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot252795184k+Non-prefixed global variable
#906weForms – Easy Drag & Drop Contact Form Builder For WordPress2591645010k+Output is not escaped
#907Secure Gateway for Authorize.net and WooCommerce by Pledged Plugins259071,41810k+Non-prefixed global variable
#908Bulk Edit Products for WooCommerce – WP Sheet Editor2595796810k+Text Domain Mismatch
#909Digital Goods (Checkout Field Editor) for WooCommerce Checkout255391,4793k+Non-prefixed global variable
#910Dynamic Pricing and Discount Rules for WooCommerce255311,569600Non-prefixed global variable
#911Bulk Edit Coupons for WooCommerce – WP Sheet Editor251,022982500Text Domain Mismatch
#912Flat Rate Shipping Method for WooCommerce251,2421,7785k+Non-prefixed global variable
#913PDF Builder for WooCommerce. Create invoices,packing slips and more253725032k+Non-prefixed global variable
#914Product Table for WooCommerce251838965k+Non-prefixed global variable
#915Pay with Vipps and MobilePay for WooCommerce258465145k+Output is not escaped
#916HUSKY – Products Filter Professional for WooCommerce251,89590k+Non-prefixed global variable
#917Wordfence Login Security2524841870k+Output is not escaped
#918WP 2FA – Two-factor authentication for WordPress25283716100k+Non-prefixed global variable
#919WP Airbnb Review Slider253256461k+Non-prefixed global variable
#920Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals2513735360k+Input is not sanitized
#921WP Coupons and Deals – WordPress Coupon Plugin259141,4601k+Non-prefixed global variable
#922WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards251,4311,27010k+Output is not escaped
#923WP-DownloadManager256075083k+Unsafe printing function
#924Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)252,6522,09110k+Text Domain Mismatch
#925WP Review Slider251,1862,2796k+Non-prefixed global variable
#926WP Go Maps – Google Map, OpenStreetMap, Leaflet Map254,9961,008300k+Unsafe printing function
#927WP Google Review Slider251,3672,58430k+Non-prefixed global variable
#928WP Encryption – No.1 HTTPS plugin & One Click Free SSL Cert, HTTPS Redirect, Security257271,55450k+Non-prefixed global variable
#929Nested Pages2567456090k+Non-prefixed global variable
#930WP Photo Album Plus2541,80710k+Direct Query
#931WP-Polls2561863940k+Unsafe printing function
#932WP Popups – WordPress Popup builder2544034230k+Output is not escaped
#933Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF2515811860k+Non-prefixed global variable
#934Bulk Edit Posts and Products in Spreadsheet259349448k+Text Domain Mismatch
#935SlimStat Analytics251,17787070k+Exception output is not escaped
#936Smush – Image Optimization, Compression, Lazy Load, WebP & CDN252445681m+Non-prefixed hook name
#937WP Spell Check254,4252k+Direct Query
#938WP Statistics – Simple, privacy-friendly Google Analytics alternative256102,465600k+Non-prefixed global variable
#939WP Super Cache258009891m+Output is not escaped
#940WP Time Slots Booking Form254391,1371k+Non-prefixed global variable
#941WP TripAdvisor Review Slider251,0532,5778k+Non-prefixed global variable
#942WP Yelp Review Slider254296451k+Non-prefixed global variable
#943WPCargo Track & Trace2523955710k+Non-prefixed global variable
#944Team Members Showcase255911,4944k+Non-prefixed global variable
#945WPvivid Backup for MainWP258181,79410k+Missing nonce verification
#946WPvivid — Backup, Migration & Staging259001,461900k+Non-prefixed namespace
#947YeeMail — Email Template Builder & Customizer25606222600wp function not compatible with requires wp
#948Video Gallery – YouTube Gallery, Playlist & Video Grid252751,0662k+Non-prefixed hook name
#949YT Player – Embed and Customize Video Players253,1632611k+Output is not escaped
#950ActiveCampaign for WooCommerce265411906k+Exception output is not escaped