WordPress.DB.PreparedSQL.NotPrepared

SQL query is not prepared

A database query includes dynamic data without using `$wpdb->prepare()` or an equivalent safe pattern.

critical weight

Why It Shows Up

The scan found a SQL string passed to `$wpdb` where variables appear to be interpolated or concatenated directly.

Why It Matters

Unprepared SQL can allow SQL injection when user-controlled values reach the query.

How to Fix

  • Move dynamic values into placeholders such as `%s`, `%d`, `%f`, or `%i` where supported.
  • Pass the values as separate arguments to `$wpdb->prepare()`.
  • For table names, column names, and sort directions, use strict allowlists instead of raw user input.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1BulletProof Security05,0484,94920k+2026-05-20Output Not Escaped
#2JetBackup – Backup, Restore & Migrate101,559145100k+2026-05-03Exception Not Escaped
#3wpForo Forum174,0332,92220k+2026-05-31Unsafe Printing Function
#4Prime Slider Addons for Elementor183,500230100k+2026-06-15Text Domain Mismatch
#5WP Import Export Lite1873897940k+2025-08-04Non Prefixed Variable Found
#6Element Pack – Widgets, Templates & Addons for Elementor199,448517100k+2026-06-16Text Domain Mismatch
#7Download Monitor194251,36480k+2026-06-16Non Prefixed Hookname Found
#8Event Organiser191,10654420k+2024-10-10Text Domain Mismatch
#9Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+2026-06-09Exception Not Escaped
#10Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,22810k+2025-12-05Output Not Escaped
#11Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,909878100k+2026-06-16Exception Not Escaped
#12Search Atlas SEO – Premier SEO Plugin for One-Click WP Publishing & Integrated AI Optimization191,2952,6799k+2026-06-15Output Not Escaped
#13Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195413853m+2026-06-17Missing Translators Comment
#14Membership Plugin – Kadence Memberships195,0822,9829k+2026-05-26Text Domain Mismatch
#15BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot205081,40630k+2026-06-18Non Prefixed Variable Found
#16Brizy – Page Builder2058972070k+2026-06-09Output Not Escaped
#17Filter Everything — WordPress & WooCommerce Filters2056873050k+2026-06-18Output Not Escaped
#18GiveWP – Donation Plugin and Fundraising Platform203,4353,580100k+2026-06-15Output Not Escaped
#19Link Library201,9411,39710k+2026-04-26Unsafe Printing Function
#20Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+2026-04-10Missing Unslash
#21Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+2026-04-15Non Prefixed Variable Found
#22Nimble Page Builder201,5911,68430k+2025-03-24Missing Arg Domain
#23Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20557541100k+2026-05-19Output Not Escaped
#24Razorpay for WooCommerce20974855100k+2026-06-19Non Prefixed Function Found
#25Store Locator WordPress212,3721,57210k+2026-06-03Text Domain Mismatch
#26Backup Migration219811,09380k+2026-06-05Non Prefixed Variable Found
#27bbPress219293,672100k+2025-07-02Non Prefixed Function Found
#28Cost Calculator Builder2132276530k+2026-06-19Non Prefixed Variable Found
#29Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+2026-05-22Output Not Escaped
#30Feeds for YouTube (YouTube video, channel, and gallery plugin)21558978100k+2026-06-10Output Not Escaped
#31Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)214188511m+2026-06-01Non Prefixed Variable Found
#32Modular DS: Monitor, update, and backup multiple websites211618140k+2026-05-22Exception Not Escaped
#33MotoPress Hotel Booking213,0611,03710k+2026-06-15Text Domain Mismatch
#34Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4693,33310k+2026-06-18Non Prefixed Variable Found
#35Landing Page Builder – Coming Soon page, Maintenance Mode, Lead Page, WordPress Landing Pages211,1732,9839k+2026-06-02Non Prefixed Variable Found
#36Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction211,9185,06510k+2026-06-02Non Prefixed Hookname Found
#37User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor216961,48350k+2026-06-10Recommended
#38Five Star Restaurant Reservations – WordPress Booking Plugin211,0991,14710k+2026-06-19Output Not Escaped
#39Professional Social Sharing Buttons, Icons & Related Posts – Shareaholic2132718110k+2024-11-05Output Not Escaped
#40ThirstyAffiliates – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin2119066030k+2026-05-27Non Prefixed Variable Found
#41WCFM – Frontend Manager for WooCommerce214,7215,06720k+2026-04-25Non Prefixed Variable Found
#42WebP Express21160427300k+2026-06-19Non Prefixed Variable Found
#43Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+2026-05-13Output Not Escaped
#44WP phpMyAdmin214,5286,43550k+2025-10-17Missing Arg Domain
#45wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin211,3541,14070k+2026-06-08Output Not Escaped
#46WPScan – WordPress Security Scanner215272658k+2026-01-12Text Domain Mismatch
#47Frontend Admin by DynamiApps225,9223,20810k+2026-06-17Text Domain Mismatch
#48Advanced Ads – Ad Manager & AdSense22578734100k+2026-06-08Non Prefixed Variable Found
#49Advanced Form Integration — Connect Forms to 200+ Apps225,7714,67810k+2026-06-18wp function not compatible with requires wp
#50All-in-One Video Gallery229112,89220k+2026-05-11Non Prefixed Variable Found