Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 85%

CVE-2026-12224: CWE-269 Improper Privilege Management in wedevs Dokan Pro

0
High
VulnerabilityCVE-2026-12224cvecve-2026-12224cwe-269
Published: 07/01/2026 (07/01/2026, 06:51:06 UTC)
Source: CVE Database V5
Vendor/Project: wedevs
Product: Dokan Pro

Description

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<=5.0.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:08:04 UTC

Technical Analysis

The Dokan Pro WordPress plugin is vulnerable to improper privilege management (CWE-269) in all versions up to 5.0.4. The vulnerability arises because the update_capabilities REST handler accepts arbitrary capability strings from the request body and passes them directly to WP_User::add_cap() without allowlist validation. The only check performed is that the caller has the dokandar capability. This flaw allows authenticated attackers with Vendor-level access or higher, on sites with the Vendor Staff module enabled, to escalate privileges by granting themselves or others administrator capabilities, resulting in complete site compromise.

Potential Impact

Successful exploitation allows authenticated users with Vendor-level access or above to escalate privileges by assigning arbitrary WordPress capabilities, including administrator rights, to vendor_staff accounts. This leads to full site takeover, compromising confidentiality, integrity, and availability of the affected WordPress site.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the update_capabilities REST endpoint and disable the Vendor Staff module if not required. Monitor for updates from wedevs and apply official patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-06-14T14:48:41.497Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44ca9627e9c797192fabe6

Added to database: 07/01/2026, 08:06:46 UTC

Last enriched: 07/08/2026, 13:08:04 UTC

Last updated: 08/14/2026, 12:41:08 UTC

Views: 53

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses