Next-Cart Store To Woocommerce Migration
An authentication bypass exists in the `NCWM Kitconnect::run()` function. The plugin registers the `/wp-json/next cart/v1/migration` API endpoint with a permission callback that allows all users and relies on a hardcoded fallback value ` token ` for the `nextcart token` variable when it is not yet present in the database. This occurs during programmatic, network, or WP-CLI activation before an administrator visits the dashboard. Unauthenticated attackers can use the string ` token ` to access privileged handlers, allowing them to execute arbitrary SQL via `$wpdb->query()` and `$wpdb->get results()` to create administrator accounts, or use `unlink()` to delete arbitrary files, leading to full site takeover.