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
#1401Quick Restaurant Reservations33654179500Text Domain Mismatch
#1402Frisbii Pay33912921k+Non-prefixed global variable
#1403Rename wp-login.php to anything you want33251117500Output is not escaped
#1404Review Slider for WooCommerce33160422400Non-prefixed global variable
#1405Reviews Plus332233781k+Non-prefixed function
#1406Live Sales Notification (Recent Sales Popups)33114120400SQL query is not prepared
#1407Schema & Structured Data for WP & AMP3363246100k+Non-prefixed global variable
#1408Sessions33196103900Output is not escaped
#1409TaxCloud for WooCommerce3323261500Non-prefixed function
#1410SMTP2GO for WordPress – Email Made Easy3318611130k+Output is not escaped
#1411Social Rocket – Social Sharing Plugin331,0162551k+Unsafe printing function
#1412Spiffy Calendar334732433k+Output is not escaped
#1413Spin Wheel – Interactive spinning wheel that offers coupons33680313500Unsafe printing function
#1414Sublanguage33266287700Output is not escaped
#1415WP Twitter Auto Publish334421714k+Output is not escaped
#1416Uix Shortcodes33246444400Non-prefixed global variable
#1417Display Posts As List, Grid, Thumbs33442241900Output is not escaped
#1418Variation Swatches for WooCommerce3346911650k+Text Domain Mismatch
#1419Website Monetization by MageNet33608720k+Output is not escaped
#1420Rich Showcase for Google Reviews33213278100k+Output is not escaped
#1421Wonder Slider Lite332731878k+Output is not escaped
#1422Product Addons for Woocommerce – Product Options with Custom Fields3312411430k+Output is not escaped
#1423Hyyan WooCommerce Polylang Integration331412208k+Nonce verification recommended
#1424CartBounty – Save and recover abandoned carts for WooCommerce3337039910k+Output is not escaped
#1425Pay. Payment Methods for WooCommerce333161043k+Non Singular String Literal Domain
#1426WOW Slider331761013k+Output is not escaped
#1427Books Gallery – Book Showcase, Library & Affiliate Plugin331,7531782k+Output is not escaped
#1428WP Edit3333713740k+Unsafe printing function
#1429WP Social AutoConnect33290144400Output is not escaped
#1430Connector for Gravity Forms and Google Sheets336921553k+Text Domain Mismatch
#1431WebToffee WP Backup and Migration331322225k+Non-prefixed global variable
#1432WP Multilang – Translation and Multilingual Plugin335311810k+Database parameter is not escaped
#1433Paymattic – Secure, Simple Payment & Donation with Subscription Payments, Recurring Donations, Customer Management335383k+Direct Query
#1434WP-UserOnline3311116110k+Output is not escaped
#1435WPReplace内容字符替换插件33209195800Non Singular String Literal Domain
#1436XML Sitemaps3365622k+Output is not escaped
#1437Advanced Coupons for WooCommerce Coupons & Store Credit347421420k+Non-prefixed global variable
#1438Assistant – Every Day Productivity Apps34124974k+Exception output is not escaped
#1439Audit Trail349010710k+Unsafe printing function
#1440Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels34862559k+Direct Query
#1441Beeketing for WooCommerce – Marketing Automation to Boost Sales34113123600SQL query is not prepared
#1442Buckets346876500Output is not escaped
#1443Campi Moduli Italiani3472363500Unquoted Complex Placeholder
#1444SMS Abandoned Cart Recovery ✦ CartBoss346772400SQL query is not prepared
#1445Cornerstone3416117430k+Nonce verification recommended
#1446CSS JS Manager, Async JavaScript, Defer Render Blocking CSS34761061k+Input is not validated
#1447Custom Post Type Attachment3415349800wp function not compatible with requires wp
#1448Debug Log Manager Tool34441433k+Nonce verification recommended
#1449Download After Email – Subscribe & Download Form Plugin34223567k+Input is not validated
#1450Dr. Flex3483511k+Output is not escaped