CVE-2026-136901: PiWeb Cancel order / Refund request for WooCommerce <= 1.3.4.43 - Unauthenticated Stored Cross-Site Scripting via 'order_cancel_reason' Parameter
The PiWeb Cancel order / Refund request for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ordercancelreason' parameter in all versions up to, and including, 1.3.4.43 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Although WooCommerce applies wpksespost() on display, it permits tags such as div and textarea with id and class attributes; core's tags-box.js, loaded on the admin order-edit screen, reads those element ids and concatenates them into HTML passed to jQuery, creating a parser-differential path that bypasses the display-time sanitizer. Exploitation additionally requires that the site administrator has enabled cancellation requests on at least one order status in the plugin's settings.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable cancellation requests for all order statuses in the plugin settings.
PiWeb Cancel order / Refund request for WooCommerce cancellation requests by order status = disabled
Event History
Frequently Asked Questions
Which sites are exposed to exploitation?
Sites using the affected plugin are exposed only if cancellation requests are enabled for at least one order status in the plugin settings. The issue affects versions up to and including 1.3.4.43.
Does an attacker need an account or user interaction to submit the malicious content?
No. An attacker can submit the crafted order_cancel_reason value without authentication and without victim interaction at submission time.
When does the injected script execute?
The stored payload executes when a user accesses an injected page. The described bypass specifically involves the WordPress admin order-edit screen, where core tags-box.js processes attacker-controlled element IDs.
What mitigation is available if the plugin cannot be updated immediately?
Disable cancellation requests for every order status in the plugin settings. Exploitation additionally requires cancellation requests to be enabled on at least one status.