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 84%

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/01/2026, 08:21:34 UTC

Technical Analysis

CVE-2026-12224 is a privilege escalation vulnerability in the Dokan Pro WordPress plugin affecting all versions up to and including 5.0.4. The issue stems from the update_capabilities REST handler accepting arbitrary capability strings from the request body and passing them directly to WP_User::add_cap() without an allowlist validation. The handler only verifies that the caller has the dokandar capability, which is held by authenticated users with Vendor-level access or above on sites with the Vendor Staff module enabled. This flaw enables such users to escalate privileges by granting themselves or others administrator capabilities, resulting in potential full site takeover.

Potential Impact

An authenticated attacker with Vendor-level access or higher can exploit this vulnerability to grant arbitrary WordPress capabilities, including administrator privileges, to any vendor_staff account. This leads to a complete compromise of the affected WordPress site, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

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 Vendor Staff module and limit Vendor-level user privileges. Monitor for updates from wedevs regarding patches or official mitigations.

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/01/2026, 08:21:34 UTC

Last updated: 07/01/2026, 21:40:39 UTC

Views: 7

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