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
#1401Smoove connector for Elementor forms412260600Nonce verification recommended
#1402Solid Post Likes412563500Direct Query
#1403Feedback Company416336800Output is not escaped
#1404Abandoned Cart Recovery for WooCommerce41202024k+Request data is not unslashed
#1405M-Pesa(Kenya) Checkout for Woocommerce4146381k+Text Domain Mismatch
#1406Agoda Affiliate Partners Text Link Generator42440500Interpolated SQL is not prepared
#1407BP Auto Group Join425555700Output is not escaped
#1408Comment Reply Email422123500Unsafe printing function
#1409Companion Revision Manager – Revision Control4218284k+Unsafe printing function
#1410Contador de Visitas423725500SQL query is not prepared
#1411Etsy Shop4258213k+Unsafe printing function
#1412File Media Renamer4216422k+Input is not sanitized
#1413Geo Blocker – Control Site Access by Region and IP4210641k+Direct Query
#1414Image Uploader for Welcart4227243k+Output is not escaped
#1415WP All Import – Import SEO Settings for Rank Math SEO4218447k+Nonce verification recommended
#1416iyzico for WooCommerce42345410k+Unsafe printing function
#1417LeadSnap4214841k+Input is not validated
#1418Post Types Order424543600k+wp function not compatible with requires wp
#1419WP Email Log – PostBox42281700Nonce verification recommended
#1420Product Price History for WooCommerce42101800Nonce verification recommended
#1421Reusable Blocks Extended42381520k+Output is not escaped
#1422Simple Googlebot Visit4232671k+Non Singular String Literal Domain
#1423StifLi Flex MCP – MCP Server with undo for ChatGPT, Claude & Gemini4221101k+Interpolated SQL is not prepared
#1424Transients Manager42455020k+Output is not escaped
#1425Ultimate Coming Soon Page, Maintenance Mode & Under Construction – Gutenberg Block Builder & Landing Page4215899k+Non-prefixed global variable
#1426WC Price History4218234k+Database parameter is not escaped
#1427WP Bulk Delete427130100k+Direct Query
#1428WP Fingerprint4234479k+Direct Query
#1429Advanced All in One Admin Search by WP Spotlight422525900Missing Version
#1430Auto Alt Text4352134k+Exception output is not escaped
#1431Pods Gravity Forms Add-On43791k+Missing nonce verification
#1432Qodax Checkout Manager – Checkout Field Editor for WooCommerce431727400Interpolated SQL is not prepared
#1433WP Hotel Booking WPML Support431052400Direct Query
#1434WP Mail Log43402910k+Text Domain Mismatch
#1435Advanced Dynamic Pricing and Discount Rules for WooCommerce44281320k+Non-prefixed namespace
#1436Proxy & VPN Blocker44741k+Nonce verification recommended
#1437Simple Full Screen Background Image44231310k+Output is not escaped
#1438Icons Font Loader – Load Web Fonts and Icon Libraries4547332k+Text Domain Mismatch
#1439JetHost Total Care – Security & Enhancements451085800Direct Query
#1440Popup Box – Easily Create WordPress Popups4571517k+Non-prefixed global variable
#1441Related Posts By PickPlugins454843k+Non-prefixed global variable
#1442Super Blank45131569k+Missing direct file access protection
#1443Easy Subscribe46132800Direct Query
#1444GetAutoSEO AI Tool46102542k+Direct Query
#1445Live Copy Paste for Elementor – Cross Domain Copy Paste & Page Duplicator4613257k+Request data is not unslashed
#1446Podcast Player – Your Podcasting Companion461413310k+Non-prefixed global variable
#1447Repeater Fields for Gravity Forms46134411k+wp function not compatible with requires wp
#1448WP All Import – Import SEO Settings for Yoast SEO46192620k+Nonce verification recommended
#1449Auto Focus Keyword for SEO4713442k+Interpolated SQL is not prepared
#1450404 Image Redirection (Replace Broken Images)4711885600Text Domain Mismatch