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
#1801news ticker benaceur371,097311k+Output is not escaped
#1802NextGEN Scroll Gallery3733281k+Output is not escaped
#1803Sendle Shipping Plugin379164800wp function not compatible with requires wp
#1804Oliver POS – WooCommerce POS for iPhone, iPad & Android3715242800Interpolated SQL is not prepared
#1805WP All Export – Order Export for WooCommerce371091114k+Text Domain Mismatch
#1806Panda Pods Repeater Field379260600Non-prefixed global variable
#1807PayU CommercePro Plugin372187k+error log error log
#1808Phoenix Media Rename3718010450k+Output is not escaped
#1809PNG to JPG3713017310k+Interpolated SQL is not prepared
#1810Poptics – Popup Builder, Email Opt-ins, Exit-Intent & WooCommerce Popups Sales3759642k+SQL query is not prepared
#1811Product Image Hover Effects WOOC – WPSHARE2473716194800Output is not escaped
#1812Publish to Schedule37195433k+Text Domain Mismatch
#1813Quentn WP374251500Nonce verification recommended
#1814rapidmail: Newsletter & E-Mail Marketing for WooCommerce377947400Text Domain Mismatch
#1815Ryviu – Review Importer & Product Reviews3772951k+Output is not escaped
#1816Simple Image XML Sitemap37119161k+Output is not escaped
#1817Lightbox slider – Responsive Lightbox Gallery37361733k+Non-prefixed global variable
#1818Tracking Code Manager37554290k+Output is not escaped
#1819Tracking Script Manager3782572k+Non Singular String Literal Domain
#1820UsersWP – Social Login37299912k+Text Domain Mismatch
#1821ValidateCertify Free37123971k+Text Domain Mismatch
#1822Virtual Classroom – Video Conferencing & Online Meeting with BigBlueButton3745140400Nonce verification recommended
#1823Views for WPForms – Display & Edit WPForms Entries on your site frontend3780641k+Output is not escaped
#1824Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin3799339k+Text Domain Mismatch
#1825Orders Tracking for WooCommerce37731210k+Request data is not unslashed
#1826Xendit Payment3731973k+Missing nonce verification
#1827WooCommerce PayPal Payments37194110800k+Exception output is not escaped
#1828Wordable – Export Google Docs to WordPress3747632k+Output is not escaped
#1829Hustle – Email Marketing, Lead Generation, Optins, Popups374,8945,94290k+Non-prefixed global variable
#1830Fix Media Library3753711k+Output is not escaped
#1831WPForce Logout – WordPress User Login Logout Management Plugin37567328k+Output is not escaped
#1832WP Flow Plus37175146800Output is not escaped
#1833Persistent Login373381086k+Unsafe printing function
#1834WP Show Stats37197103400Output is not escaped
#1835Special Text Boxes3738422k+Direct Query
#1836TopNewsWp – Display Tikcer News, RSS Feed Widget and Many More3787859800Output is not escaped
#1837XT Visitor Counter37177527k+Output is not escaped
#1838Yada Wiki37207452k+Text Domain Mismatch
#1839Zoho Marketing Automation37241941k+Non-prefixed global variable
#1840Accessibility3866611k+Non-prefixed global variable
#1841Action Scheduler389213420k+Exception output is not escaped
#1842Advanced 301 and 302 Redirect38813391k+Non-prefixed global variable
#1843Advanced Media Offloader3857935k+error log error log
#1844Alphabetic Pagination38144117500Unsafe printing function
#1845Activity Log – Monitor & Record User Changes3881149200k+Nonce verification recommended
#1846Automatic Post Tagger385923072k+Output is not escaped
#1847Bot Block – Stop Spam Referrals in Google Analytics382842600Output is not escaped
#1848Cache Warmer38322191k+Interpolated SQL is not prepared
#1849CC Child Pages38631529k+Non-prefixed global variable
#1850Certificate Verification3833401k+Output is not escaped