Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or use self-provisioned vendor account
-
DeliveryCreate vendor_staff account
-
ExploitPOST arbitrary capability to update_capabilities REST endpoint
-
ExecutionGrant administrator capability to staff account
-
PersistLog in as administrator
-
ImpactFull site takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Vendor Staff module to be enabled in Dokan Pro (the module that exposes the update_capabilities() REST endpoint) and the attacker to hold at least a self-provisioned Vendor-level account carrying the dokandar capability - commonly obtainable on marketplaces that allow open vendor registration. Given those, the attacker POSTs arbitrary capability strings (e.g. administrator) to the endpoint to elevate a vendor_staff account. Limiting factors: the Staff module is not enabled on every Dokan site, sites that gate vendor sign-up behind manual admin approval remove the easy foothold, and the attacker needs a valid authenticated session (PR:L) rather than pure anonymous access; no user interaction and no non-standard client are otherwise required. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8 High) accurately reflects a network-reachable, low-complexity, low-privilege-required attack with full confidentiality, integrity and availability impact - consistent with a path to administrator. The meaningful mitigating factors are that the attacker must first hold vendor-level access and the target site must have the Vendor Staff module enabled; neither is guaranteed by default, so this is not a blanket unauthenticated RCE. However, many Dokan marketplaces intentionally allow open vendor self-registration, which effectively collapses the PR:L barrier to 'anyone who can sign up.' No EPSS score, KEV listing, or public POC was supplied in the intelligence, so real-world exploitation pressure cannot be quantified - the absence of a POC lowers immediate mass-exploitation likelihood but does not reduce the technical severity. This is a genuine priority for any live Dokan marketplace with staff features and open registration, and a lower priority for invite-only vendor sites with the Staff module disabled. |
| Exploit ScenarioDerived | An attacker registers (or already holds) a vendor account on a Dokan marketplace that has the Vendor Staff module enabled, creates a vendor_staff account, then sends a crafted authenticated request to the update_capabilities() REST endpoint supplying 'administrator' as a capability. Because the handler only checks for the dokandar capability and applies no allowlist, the staff account is granted administrator rights, giving the attacker full control of the WordPress site. No public POC was supplied, but the attack is network-based and low-complexity per the CVSS vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Privilege escalation in the Dokan Pro WooCommerce multivendor plugin for WordPress (all versions through 5.0.4) allows an authenticated vendor-level attacker to grant themselves or a controlled vendor_staff account the WordPress administrator capability, resulting in full site takeover. The flaw stems from the update_capabilities() REST handler accepting arbitrary capability strings with no allowlist, only checking for the dokandar capability. No public exploit has been identified at time of analysis, and no EPSS or KEV signals were supplied; however, the issue is reported by Wordfence and exploitation is straightforward on sites where the Vendor Staff module is enabled and vendor self-registration is permitted.
RemediationAI
No vendor-released patched version was identified at time of analysis; the description confirms only that versions through 5.0.4 are vulnerable, so administrators should upgrade to the latest Dokan Pro release above 5.0.4 as soon as weDevs publishes a fix and monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/6ff9c202-b3e8-4660-8763-a9fee468203e?source=cve) and https://dokan.co/ for the exact fixed version. Until a patch is applied, the most effective compensating control is to disable the Vendor Staff module, which removes the vulnerable endpoint entirely at the cost of losing staff-account functionality for vendors. Where the Staff module must stay enabled, temporarily disable open vendor self-registration (require manual admin approval of new vendors) to remove the low-privilege foothold, and restrict or WAF-filter access to the Dokan REST update_capabilities route; audit existing vendor_staff and vendor accounts for any that already hold administrator or other elevated capabilities and revoke them, since a successful attack leaves a persistent privileged account behind.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dokan Pro is the commercial extension of the widely used Dokan multivendor marketplace plugin (vendor weDevs, CPE cpe:2.3:a:wedevs:dokan_pro), which turns a WooCommerce store into a multi-seller marketplace with per-vendor staff accounts. The vulnerability lives in the plugin's REST API layer: the update_capabilities() endpoint reads capability identifiers directly from the request body and passes them to WordPress core's WP_User::add_cap(), which unconditionally attaches any capability string to a user's meta. The only authorization gate is a check that the caller holds the dokandar (vendor) capability, and there is no allowlist restricting which capabilities may be assigned. This is a textbook CWE-269 (Improper Privilege Management) failure - the code trusts client-supplied privilege identifiers and provides no separation between capabilities a vendor may legitimately delegate to staff and high-privilege capabilities such as administrator.
Know when Dokan Pro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network REST endpoint (AV:N) reachable by any authenticated vendor (PR:L) with no user interaction; missing capability allowlist yields administrator access and full C/I/A impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via update_capabilities REST Endpoint in all versions up to, and including, 5.0.4. This is due to the update_capabilities() REST handler accepting arbitrary capability strings from the request body and passing them directly to WP_User::add_cap() with no allowlist validation, only verifying that the caller holds the dokandar capability. This makes it possible for authenticated attackers with a self-provisioned Vendor-level access and above, on sites with the Vendor Staff module enabled, to grant arbitrary WordPress capabilities, including administrator, to any vendor_staff account, leading to a full site takeover.
Articles & Coverage 1
Executive ViewAI
The Dokan Pro WooCommerce multivendor plugin (versions through 5.0.4) contains a privilege escalation vulnerability that allows vendor-level user accounts to gain full WordPress administrator access and assume complete control of affected websites. No public exploit has been identified at time of analysis, but organizations using this plugin face significant risk of site takeover, data theft, and malware injection through compromised vendor accounts.
No vendor-released patch identified at time of analysis. Interim mitigations: Disable Vendor Staff module and vendor self-registration; restrict administrative authority for vendor account approvals; enable detailed audit logging of user capability modifications; deploy Web Application Firewall rules to block unauthorized REST API calls to update_capabilities endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
PHP Object Injection in the Dokan Pro WordPress plugin (versions 5.0.2 and earlier) allows an authenticated user holding
Broken access control in Dokan Pro (the premium extension of the Dokan multivendor marketplace plugin for WordPress) thr
SQL injection in the Dokan Pro WordPress multivendor marketplace plugin (all versions ≤ 5.0.4) lets unauthenticated remo
Authenticated SQL injection in the Dokan Pro WordPress multivendor marketplace plugin (versions <= 5.0.2) allows a low-p
Stored/reflected Cross-Site Scripting in the Dokan Pro WordPress multivendor marketplace plugin (versions up to and incl
Time-based blind SQL injection in the Dokan Pro WordPress plugin allows network-accessible authenticated attackers with
EUVD-2026-40928
GHSA-9cv2-mw8g-x6gp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB