ShopLentor administrators can inject SQL through abandoned-cart sorting
ShopLentor through 3.4.5 lets an Administrator supply the orderby parameter to GET /wp-json/woolentor/v1/abandoned-cart/carts. Cart_Data::get_abandoned_carts() passes that value to DB_Handler::get_abandoned_carts(), which interpolates it directly into the ORDER BY clause while $wpdb->prepare() protects only the separate value placeholders. An attacker with manage_options can therefore perform time-based SQL injection and extract database information.
- Component
- ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin
- Plugin slug
woolentor-addons- Affected
- <= 3.4.5
- Safe version
> 3.4.5- Published
- Jul 28, 2026
This CVE was published Jul 28, 2026 and is one of 17 known issues for this plugin.
Update, patch or deactivate.
Update ShopLentor to a release newer than 3.4.5. The CNA record identifies the affected boundary but does not name a fixed tag; current upstream code allow-lists sortable column names. Review Administrator accounts and REST requests containing unusual orderby values.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the 'orderby' parameter in all versions up to, and including, 3.4.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N