Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Network-reachable endpoint requires active shop manager session and nonce (PR:H); no complexity beyond obtaining credentials (AC:L); read-only extraction means I:N and A:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Advanced Order Export For WooCommerce plugin for WordPress is vulnerable to generic SQL Injection via the 'sort_direction' parameter in all versions up to, and including, 4.0.10 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 shop manager-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The endpoint requires a valid woe_nonce and Shop Manager-level capabilities (view_woocommerce_reports or export_woocommerce_orders), and wp_magic_quotes protection is stripped via stripslashes_deep() before processing, allowing quote and backslash characters to survive intact into the SQL context.
AnalysisAI
SQL Injection in the Advanced Order Export For WooCommerce WordPress plugin (versions up to and including 4.0.10) allows authenticated shop managers to append arbitrary SQL to existing queries via the unsanitized 'sort_direction' parameter, enabling full read-access to the WordPress database. Wordfence confirmed the flaw, which is compounded by the plugin's deliberate stripping of WordPress magic quotes protection through stripslashes_deep(), permitting SQL metacharacters to reach the query context intact. No public exploit code has been identified at time of analysis, and this CVE does not appear in the CISA KEV catalog.
Technical ContextAI
The vulnerability resides in the AlgolPlus plugin identified by CPE cpe:2.3:a:algolplus:advanced_order_export_for_woocommerce:*:*:*:*:*:*:*:*, specifically in the class-wc-order-export-engine.php file (lines 378, 531, 537, 649) and the associated AJAX trait (trait-wc-order-export-admin-tab-abstract-ajax-export.php, line 13). The root cause class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). WordPress normally applies magic quotes via addslashes() to all incoming request data, which would neutralize SQL metacharacters. However, this plugin calls stripslashes_deep() on user input before it reaches the SQL construction logic, negating that defense layer. The 'sort_direction' parameter is interpolated directly into an ORDER BY clause without parameterization or allowlist validation, which is a well-known unsafe pattern since PDO/wpdb prepare() cannot parameterize ORDER BY direction tokens. The attack surface is gated behind an AJAX endpoint that validates both a woe_nonce and WordPress capabilities (view_woocommerce_reports or export_woocommerce_orders), constraining the exploitable population to authenticated shop managers or administrators.
RemediationAI
Update the Advanced Order Export For WooCommerce plugin to a version beyond 4.0.10 as soon as one is available. The WordPress plugin repository changeset 3564108 (https://plugins.trac.wordpress.org/changeset?old=3564108%40woo-order-export-lite&new=3564108%40woo-order-export-lite) appears to contain the upstream fix commit; however, the exact released patched version number is not independently confirmed from the provided data - consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/0b395777-2e2a-4dc3-9b0c-ce4c9d22d7e9 and the WordPress.org plugin page for the confirmed fixed release. If immediate patching is not possible, restrict shop manager and administrator account access to trusted internal users only, enforce strong credentials and MFA on all WordPress privileged roles, and consider using a Web Application Firewall rule to block ORDER BY injection patterns on WooCommerce AJAX endpoints. Note that restricting access to export functionality may disrupt legitimate reporting workflows for store operators.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37844
GHSA-jjw6-h3w9-jfw6