Skip to main content

Dokan Pro CVE-2026-12224

| EUVDEUVD-2026-40928 HIGH
Improper Privilege Management (CWE-269)
2026-07-01 Wordfence GHSA-9cv2-mw8g-x6gp
8.8
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or use self-provisioned vendor account
  2. Delivery
    Create vendor_staff account
  3. Exploit
    POST arbitrary capability to update_capabilities REST endpoint
  4. Execution
    Grant administrator capability to staff account
  5. Persist
    Log in as administrator
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Dokan Pro 0 ≤5.0.4

Affected Packages

euvd dokan_pro no fix

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

Vendor (Wordfence) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular WooCommerce multivendor plugin, but paid Pro tier limits footprint
Social Media
4
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy