Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-12224 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-269Improper Privilege Management[email protected]

Affected Products

ProductVersions
Dokan
<= 5.0.4 (semver)

CPE

  • cpe:2.3:a:dokan:dokan:*:*:*:*:*:wordpress:*:*
  • cpe:2.3:a:dokan_project:dokan:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 5.0.5moderate effort

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-12224
NVD Published Date:
Jul 1, 2026
NVD Last Modified:
Jul 1, 2026
Source:
[email protected]