CVE-2026-8761

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

Published Aug 5, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Dokan plugin for WordPress contains a missing authorization verification in its REST controller that redefines WooCommerce’s customer routes. The control incorrectly checks only the requesting user’s role and never validates the target user, enabling an authenticated user with a Vendor or higher role to read, modify, or delete any WordPress user record—including administrators. Changing an administrator’s password through the exposed endpoint grants a full site takeover. This flaw is a direct abuse of the elevation of privilege weakness (CWE-862).

Affected Systems

Any WordPress site running Dokan v5.0.1 or earlier is affected. The vulnerability applies to all instances where the plugin’s REST API is enabled and accessible, regardless of site configuration or additional security plugins.

Risk and Exploitability

The flaw is rated with a CVSS score of 8.8, classifying it as High severity. No EPSS score is currently available, but the lack of KEV listing does not diminish the risk for installations still running vulnerable versions. The attack vector is via the exposed REST endpoints and requires only authenticated access with vendor or higher privileges, making it relatively easy for an insider or compromised vendor account to exploit. Successful exploitation yields full control over the site, allowing arbitrary user manipulation and account takeover.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Dokan plugin to version 5.0.3 or later, which removes the faulty authorization check.
  • If an upgrade is not immediately possible, block or restrict access to the /wp-json/dokan/v1/customers/ REST routes using a firewall rule, security plugin, or by removing the endpoint from the site’s API.
  • Revoke vendor-level capabilities or apply a role‑based policy that limits vendor permissions so that the exposed endpoints can only be accessed by administrators.

Generated by OpenCVE AI on August 5, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dokan, Inc.
Dokan, Inc. dokan
Wordpress
Wordpress wordpress
Vendors & Products Dokan, Inc.
Dokan, Inc. dokan
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Dokan <= 5.0.2 - Missing Authorization to Authenticated (Vendor+) Privilege Escalation
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 5, 2026, 4:08 PM
Reserved
May 16, 2026, 8:21 PM
Status
Deferred
Published
Aug 5, 2026, 6:16 AM
Modified
Aug 12, 2026, 9:00 PM