{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3846",
 "modified": "2026-11-25T08:44:02Z",
 "published": "2026-11-25T08:44:02Z",
 "summary": "Custom Order Status for WooCommerce <= 3.0.1 - Authenticated (Contributor+) Missing Authorization to Order Status Modification via Post Trash Handler",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "custom-order-statuses-woocommerce"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.0.0"
      },
      {
       "fixed": "3.0.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.0.0 before 3.0.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3846/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/custom-order-statuses-woocommerce/tags/3.0.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/custom-order-statuses-woocommerce/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3846/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
