{"id":"CVE-2026-12224","aliases":["CVE-2026-12224"],"related":[],"kind":"vulnerability","state":"published","title":"Dokan Pro <= 5.0.4 - Authenticated (Vendor+) Privilege Escalation via update_capabilities REST Endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-01T06:51:06.963Z","modified":"2026-07-01T13:56:17.493Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.0.4","status":"affected"}],"vendor":"wedevs","product":"Dokan Pro","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6ff9c202-b3e8-4660-8763-a9fee468203e?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://dokan.co/","tags":[],"sources":["cvelist","nvd"]}],"credits":["0xd4rk5id3"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-01T10:26:47.266Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12224","url":"https://www.cve.org/CVERecord?id=CVE-2026-12224","licence":"CVE Terms of Use","modified":"2026-07-01T10:32:04.874Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12224","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12224","licence":"Public domain","modified":"2026-07-01T13:56:17.493Z"}],"updatedAt":"2026-11-25T22:59:26.880Z","epss":{"score":0.00239,"percentile":0.16022,"date":"2026-12-01T12:00:22.000Z"}}