Skip to content
OpenAdvisories
High · 8.8 CVE-2026-8761 EUVD-2026-53037GHSA-q7fj-7hxw-7x69

Dokan <= 5.0.2 - Missing Authorization to Authenticated (Vendor+) Privilege Escalation

Published Aug 5, 2026 · Updated Aug 5, 2026 · Assigned by Wordfence

Description

The Dokan plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.0.1. This is due to a missing authorization check in the `CustomersController` REST controller (`includes/REST/CustomersController.php`), which re-registers WooCommerce's customer CRUD routes under the `/dokan/v1/customers/` namespace and replaces WooCommerce's native `manage_woocommerce` capability check with a vendor-only check that inspects the **requesting** user's role and never validates the **target** user. This makes it possible for authenticated attackers with Vendor/Seller-level access and above to read, modify, or delete any WordPress user — including administrators — via `GET`/`PUT`/`DELETE` requests against `/wp-json/dokan/v1/customers/{id}`. Setting the `password` parameter on an administrator's record yields a full site takeover.

Affected products

VendorProductAffectedFixed
dokaninc Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy <=5.0.2 —

References