Dokan Pro <= 5.0.4 - Authenticated (Vendor+) Privilege Escalation via update_capabilities REST Endpoint
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-269.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-12224
- 2026-10-03 Alias added: GHSA-9cv2-mw8g-x6gp
References
More weDevs vulnerabilities
- TI-2021-06932 WP User Frontend < 3.5.29 - Obscure Registration as Admin CVSS 3.1CRITICAL 9.8
- TI-2024-03660 Dokan Pro <= 3.10.3 - Unauthenticated SQL Injection CVSS 3.1CRITICAL 10.0
- TI-2024-11873 WP ERP < 1.13.4 - Custom+ Unauthorized Access to Terminated Employee Information CVSS 3.1HIGH 7.5
- TI-2024-11148 SQL Injection in WordPress Project Manager Plugin CVSS 3.1HIGH 7.7
- TI-2023-02570 WP ERP < 1.12.4 - Admin+ SQL Injection CVSS 3.1HIGH 7.2
- TI-2023-02569 WP ERP < 1.12.4 - Reflected Cross-Site Scripting CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-12224 · CVE Program
- CVE-2026-12224 · NVD
- FIRST EPSS
- GHSA-9cv2-mw8g-x6gp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences