Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/C
- https://plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/C
- https://plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/C
- https://plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/C
- https://plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/Custom
- https://plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/Custom
- https://plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/Custom
- https://plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/Custom
- https://plugins.trac.wordpress.org/changeset?new=3541712%40dokan-lite%2Ftags%2F5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/24666f75-9179-4043-841
FAQ
What is CVE-2026-8761?
CVE-2026-8761 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 control...
How severe is CVE-2026-8761?
CVE-2026-8761 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-8761?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.