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
#801گرویتی فرم فارسی3020515720k+Text Domain Mismatch
#802Popup Builder – Create highly converting, mobile friendly marketing popups.3026722200k+Non-prefixed global variable
#803Sync Master Sheet – Product Sync with Google Sheet for WooCommerce30136300400Non-prefixed global variable
#804Pubjet | پاب‌جت30911721k+Output is not escaped
#805QA Assistants – Driven by data3048672k+Non-prefixed global variable
#806Realbig For WordPress30365911k+Non-prefixed global variable
#807Rublon Multi-Factor Authentication (MFA)30216160500Output is not escaped
#808SmartCrawl SEO checker, analyzer & optimizer303471,30720k+Non-prefixed global variable
#809SMTP for Amazon SES – YaySMTP301971223k+Exception output is not escaped
#810Taboola30891471k+Output is not escaped
#811Waitlist Woocommerce ( Back in stock notifier )302723114k+Output is not escaped
#812Webling30147313500Input is not validated
#813FOX – Currency Switcher Professional for WooCommerce302111,02250k+Non-prefixed global variable
#814WP Docs302682711k+Output is not escaped
#815WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar301134191k+Non-prefixed global variable
#816WP Inventory Manager308562331k+Output is not escaped
#817Photo Gallery Slideshow & Masonry Tiled Gallery308063521k+Output is not escaped
#818WPOrLogin – Custom Login, Social Login, Limit Attempts, Hide Login & reCAPTCHA304842222k+Unsafe printing function
#819WPS Cleaner3043049120k+Output is not escaped
#820YayPricing – WooCommerce Dynamic Pricing & Discounts301741863k+Non-prefixed global variable
#821YASR – Yet Another Star Rating Plugin for WordPress3025237810k+Output is not escaped
#822Zoho CRM Lead Magnet301011,0253k+Request data is not unslashed
#823Advanced Category Excluder31349160700Output is not escaped
#824Advanced Woo Search – Product Search for WooCommerce3122837770k+Nonce verification recommended
#825AI Copilot – Content Generator311591631k+wp function not compatible with requires wp
#826Asgaros Forum3116741210k+Output is not escaped
#827AI ChatBot with ChatGPT and Content Generator by AYS31170378400Non-prefixed global variable
#828SEO合集(支持百度/Google/Bing/头条推送)31131,407800Direct Query
#829Яндекс Доставка (Boxberry)3146150600Missing nonce verification
#830Buy Me a Coffee – Button and Widget Plugin311381406k+Output is not escaped
#831CleverReach® WP31103934k+Non-prefixed global variable
#832Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code3152513110k+Text Domain Mismatch
#833MultiVendorX – WooCommerce Multivendor Marketplace AI Powered Solutions316642732k+Text Domain Mismatch
#834DirectoryPress Frontend31402563800Non-prefixed global variable
#835Domain Mapping System | Create Microsites with Multiple Alias Domains (multisite optional)311132332k+Non-prefixed namespace
#836Easy Upload Files During Checkout31220208500Unsafe printing function
#837افزونه پیامک حرفه ای فراز اس ام اس31891802k+wp function not compatible with requires wp
#838FastDup – Fastest WordPress Migration & Duplicator3183665k+wp function not compatible with requires wp
#839FraudLabs Pro for WooCommerce311692131k+Request data is not unslashed
#840WP Gravity Forms Constant Contact Plugin31684164600Text Domain Mismatch
#841GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets314021561k+Text Domain Mismatch
#842HT Easy GA4 – Google Analytics WordPress Plugin31475936k+Text Domain Mismatch
#843Image Hotspot – Map Image Annotation31952873k+Non-prefixed global variable
#844ImgSEO – AI Image Alt Text Generator & Image SEO Tools311677400Direct Query
#845Interactive Image Map Builder311603811k+Non-prefixed global variable
#846LWS Tools3110413410k+Request data is not unslashed
#847MainWP Dashboard: Self-hosted WordPress Management for Agencies319531720k+Interpolated SQL is not prepared
#848Openpay Stores Plugin31121751k+Non-prefixed global variable
#849افزونه پیامک ووکامرس Persian WooCommerce SMS317226940k+Nonce verification recommended
#850Active Products Tables for WooCommerce. Use constructor to create tables313644241k+Output is not escaped