Custom Order Status for WooCommerce <= 3.0.1 - Authenticated (Contributor+) Missing Authorization to Order Status Modification via Post Trash Handler
- ID
- WPSEC-2026-3846
- Plugin
- Custom Order Status for WooCommerce (custom-order-statuses-woocommerce)
- Affected
- from 3.0.0 before 3.0.2
- Remediation
- Update to 3.0.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-25
- Attack surface
- Custom Order Status for WooCommerce on WPSec AttackSurface
- Fix released
- Published
Description
The Custom Order Status for WooCommerce plugin for WordPress is vulnerable to unauthorized modification of data in all versions up to, and including, 3.0.1. This is due to a missing capability check and missing post type validation in the update_order_status_on_trash function, which runs whenever any post is moved to the trash. This makes it possible for authenticated attackers, with Contributor-level access and above, to add a 'status_slug' custom field to one of their own posts and then trash it. WooCommerce orders that have the matching status (e.g. processing or completed) are then changed to the configured fallback status.
References
- https://wpsec.com/vuln/WPSEC-2026-3846/
- https://plugins.svn.wordpress.org/custom-order-statuses-woocommerce/tags/3.0.2/
- https://wordpress.org/plugins/custom-order-statuses-woocommerce/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS