CVE-2026-135644: AliNext <= 3.7.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'match_orders[0][orderId]' Parameter
The AliNext – AliExpress Dropshipping Plugin for WooCommerce (ali2woo-lite) plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.7.5 via the 'matchorders[0][orderId]' parameter of the core/updorder JSON API endpoint. This is due to insufficient input sanitization and output escaping: the JSONAPICoreController::permissions() gate accepts any logged-in WordPress cookie with no capability or order-ownership check, the attacker-supplied orderId is stored verbatim as WooCommerce order-item meta via updatemetadata(), and WooCommerceOrderItem::getaliorderitemlink() later interpolates the stored value into both a single-quoted href attribute and the inner text of an <a> element with no escaping before it is echoed into the WooCommerce → Orders admin list by WooCommerceOrderListController. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated WordPress user with subscriber-level access or higher can exploit it. The affected API permission check accepts a logged-in WordPress cookie without verifying capabilities or ownership of the targeted order.
What must an attacker do to trigger the stored payload?
The attacker must submit a malicious value through the match_orders[0][orderId] parameter to the core/upd_order JSON API endpoint. The value is stored as WooCommerce order-item metadata and remains until it is rendered.
When does the injected script execute?
It executes when a user accesses a page that renders the injected order item, specifically the WooCommerce Orders admin list where the stored value is placed into an order-item link. This can affect users who review the manipulated order in the administrative interface.