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
#601Newsletter – Send awesome emails from WordPress248982,217200k+Non-prefixed global variable
#602Newsletter Subscription Form – User Subscriptions Form, Capture Email243858291k+Non-prefixed global variable
#603Ninja Forms – The Contact Form Builder That Grows With You247491,525600k+Nonce verification recommended
#604NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar2426740440k+Non-prefixed hook name
#605Overlay Image Divi Module245761,3012k+Non-prefixed global variable
#606Pagar.me para WooCommerce245491165k+Text Domain Mismatch
#607Page Builder: Pagelayer – Drag and Drop website builder24769556400k+Output is not escaped
#608Participants Database249518947k+SQL query is not prepared
#609Paymob for WooCommerce243482885k+Text Domain Mismatch
#610PDF for Gravity Forms + Drag And Drop Template Builder241,457260400wp function not compatible with requires wp
#611PixelYourSite – Your smart PIXEL (TAG) & API Manager241,1602,407500k+Non-prefixed namespace
#612Post Slider and Post Carousel with Post Vertical Scrolling Widget – A Responsive Post Slider245991,53210k+Non-prefixed global variable
#613Product Catalog Simple241,5551,9821k+Output is not escaped
#614Premmerce Brands for WooCommerce247001,3442k+Non-prefixed global variable
#615Premmerce Product Filter for WooCommerce248171,4862k+Non-prefixed global variable
#616Product Editor Pro – WooCommerce Bulk Edit: Prices, Stock, Images, Titles, CSV Import & More242,1544,8331k+Non-prefixed global variable
#617ProfileGrid – User Profiles, Groups and Communities244832,4615k+Non-prefixed global variable
#618Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#619PickPlugins Question Answer24321,413400Non-prefixed global variable
#620Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker244072,58740k+Non-prefixed hook name
#621reGenerate Thumbnails Advanced2422012270k+Unsafe printing function
#622Registrations for the Events Calendar – Event Registration Plugin244049447k+Non-prefixed global variable
#623Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More24141718100k+Non-prefixed global variable
#624PublishPress Revisions: Duplicate Posts, Submit, Approve and Schedule Content Changes2442158310k+Missing Translators Comment
#625RSFirewall!245635214k+Output is not escaped
#626RSVP and Event Management243456243k+Direct Query
#627Screen Reader Accessibility – WCAG, Text-to-Speech & AI Accessibility Fixes24235330600Non-prefixed global variable
#628Security Plugin, Firewall & Malware Scanner with Auto Removal241,18877030k+Output is not escaped
#629SEO Engine – Smart SEO with AI, Schema & Redirection for WordPress242393041k+Direct Query
#630SEOKEY – Powerful SEO plugin with Expert Insights and SEO Audit246059281k+Non-prefixed global variable
#631Servebolt Optimizer241,9586811k+Text Domain Mismatch
#632Service Box Slider246181,410400Non-prefixed global variable
#633Share This Image247441,5821k+Non-prefixed global variable
#634ShiftController Employee Shift Scheduling24358196700Output is not escaped
#635Shortcodes Ultimate – Content Elements246561,552400k+Non-prefixed global variable
#636ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization2492632210k+Output is not escaped
#637Simple Membership242,2971,73440k+Unsafe printing function
#638SiteGuard WP Plugin24359350500k+Output is not escaped
#639Sitepact's Contact Form 7 Extension For Klaviyo245411,412500Non-prefixed global variable
#640SKT Templates – 100% Free Templates for Elementor & Gutenberg245531,35320k+Non-prefixed global variable
#641Video Slider – Slider Carousel242082,2033k+Request data is not unslashed
#642Slideshow Gallery LITE248964145k+Output is not escaped
#643Smart Variations Images & Swatches for WooCommerce249901,4861k+Non-prefixed global variable
#644MoreConvert Wishlist for WooCommerce243,6816299k+Text Domain Mismatch
#645Sokol: Smart WooCommerce Search245991,5516k+Non-prefixed global variable
#646SMS Alert – SMS & OTP for WooCommerce, Order Notifications & Abandoned Cart Recovery248311,9033k+Non-prefixed global variable
#647SiteOrigin Widgets Bundle24606455400k+Output is not escaped
#648Social Media Auto Publish241,4687136k+Unsafe printing function
#649Softaculous241155010k+file system operations fread
#650SpiceBox248281,81620k+Non-prefixed global variable