{"id":"CVE-2026-12224","published":"2026-07-01T06:51:06Z","modified":"2026-07-01T10:32:04Z","title":"Dokan Pro <= 5.0.4 - Authenticated (Vendor+) Privilege Escalation via update_capabilities REST Endpoint","vendor":"wedevs","product":"Dokan Pro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00442,"percentile":0.39308,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6ff9c202-b3e8-4660-8763-a9fee468203e?source=cve","tags":[]},{"url":"https://dokan.co/","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.86},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"wedevs","affectedVersions":[{"vendor":"wedevs","product":"Dokan Pro","versions":["<= 5.0.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-01T10:26:47.266749Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40928","exploited":false,"provenance":"source"}}