High severity · published Jul 1, 2026
CVE-2026-12224
Dokan Pro <= 5.0.4 - Authenticated (Vendor+) Privilege Escalation via update_capabilities REST Endpoint
8.8
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DP
Dokan Pro · wedevs
through 5.0.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-12224
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-12224
dokan.co
https://dokan.co/
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/6ff9c202-b3e8-4660-8763-a9fee468203e?source=cve
More from Dokan Pro
9.8
CVE-2024-3922
Dokan Pro <= 3.10.3 - Unauthenticated SQL Injection
8.8
CVE-2025-5931
Dokan Pro <= 4.0.5 - Authenticated (Vendor+) Privilege Escalation
7.5
CVE-2026-12077
Dokan Pro <= 5.0.4 - Unauthenticated SQL Injection via 'latitude' and 'longitude' Parameters
7.1
CVE-2026-65492
WordPress Dokan Pro plugin < 5.0.7 - Cross Site Scripting (XSS) vulnerability
6.5
CVE-2026-12079
Dokan Pro <= 5.0.4 - Authenticated (Subscriber+) SQL Injection via 'orderby' Parameter
