WordPress.DB.PreparedSQL.InterpolatedNotPrepared

Interpolated SQL is not prepared

Variables are interpolated into a SQL string before the query is prepared.

critical weight

Why It Shows Up

The scan found dynamic values placed directly inside SQL, often through string interpolation, before `$wpdb->prepare()` can safely bind them.

Why It Matters

Preparing a query after unsafe interpolation does not reliably protect the dynamic value.

How to Fix

  • Replace interpolated variables with placeholders.
  • Pass each dynamic value as a separate `$wpdb->prepare()` argument.
  • Use allowlists for SQL identifiers and directions that cannot be represented as normal values.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Themify Builder95,3342,1715k+Text Domain Mismatch
#3404 Solution155821,53210k+Non-prefixed class
#4MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#5AnyComment174454495k+Output is not escaped
#6RestroPress – Online Food Ordering System175343,2071k+Non-prefixed global variable
#7Shopping Cart & eCommerce Store178,03817,4643k+Non-prefixed global variable
#8wpForo Forum174,3063,02620k+Unsafe printing function
#9WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#10Administrator Z182,061799400Output is not escaped
#11JetFormBuilder — Dynamic Blocks Form Builder182,1201,61580k+Text Domain Mismatch
#12Pagopar – WooCommerce Gateway185301,215400Non-prefixed global variable
#13Property Hive181,9576,0273k+Missing nonce verification
#14WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#15Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,227892100k+Exception output is not escaped
#16GiveWP – Donation Plugin and Fundraising Platform193,4133,569100k+Output is not escaped
#17Go Fetch Jobs (for WP Job Manager)191,4101,741700Non-prefixed global variable
#18Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#19Netgsm193343081k+Setting is missing a sanitization callback
#20Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#21Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195313783m+Missing Translators Comment
#22Membership Plugin – Kadence Memberships195,0853,0039k+Text Domain Mismatch
#23Scrollsequence – Cinematic Scroll Image Animation Plugin198781,5283k+Non-prefixed global variable
#24SendPress Newsletters192,2931,4221k+Output is not escaped
#25SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments195341,16180k+Non-prefixed global variable
#26WP Email Template193443452k+Exception output is not escaped
#27WP Import Export Lite1973797940k+Non-prefixed global variable
#28WP Directory Kit191,5022,6412k+Non-prefixed global variable
#29AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#30Brizy – Page Builder2058572670k+Output is not escaped
#31Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC)207362,112900Non-prefixed global variable
#32Download Monitor204231,36780k+Non-prefixed hook name
#33Ebook Store204051,065700Non-prefixed global variable
#34Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#35Event Organiser201,10454420k+Text Domain Mismatch
#36EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#37GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership201,832720700Non Singular String Literal Domain
#38MBE eShip205277401k+Non-prefixed global variable
#39Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+Request data is not unslashed
#40MAS Videos205191,6931k+Non-prefixed global variable
#41Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#42Shipping for Nova Poshta20598923400Output is not escaped
#43Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#44Pronamic Pay202661,0782k+Non-prefixed global variable
#45Quill Forms | Conversational Multi Step Forms, Surveys & quizzes204003713k+Text Domain Mismatch
#46Restrict User Access – Ultimate Membership & Content Protection209771,84810k+Non-prefixed global variable
#47Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#48SpeakOut! Email Petitions208509942k+Missing nonce verification
#49Events Manager – OpenStreetMaps20559444600Output is not escaped
#50Razorpay for WooCommerce20975859100k+Non-prefixed function