{"id":"CVE-2026-107645","published":"2026-10-10T04:18:10.090","lastModified":"2026-10-13T13:30:21.620","description":"The Blocksy Companion plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.1.58 This is due to the implement_user_registration() AJAX handler explicitly disabling Dokan's vendor-registration nonce check (via add_filter('dokan_register_nonce_check', '__return_false')) and then trusting an attacker-supplied $_POST['role'] value when invoking wc_create_new_customer() and wc_set_customer_auth_cookie(). This makes it possible for unauthenticated attackers to elevate their privileges to a Dokan 'seller' (vendor) account — including sites where the Dokan vendor signup is explicitly turned off — and to be auto-authenticated into that account, which grants publishing capabilities beyond those of a normal customer.","cvssScore":9.1,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-269"],"vendors":[],"products":[],"references":[{"url":"https://plugins.trac.wordpress.org/browser/blocksy-companion/tags/2.1.58/framework/features/account-auth.php#L181","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/blocksy-companion/tags/2.1.58/framework/features/account-auth.php#L24","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/blocksy-companion/tags/2.1.58/framework/features/account-auth.php#L241","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3735192/blocksy-companion/tags/2.1.59/framework/features/account-auth.php?old=3723693&old_path=blocksy-companion%2Ftags%2F2.1.58%2Fframework%2Ffeatures%2Faccount-auth.php","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7757f41d-c1f1-4df1-8048-b1c78a897548?source=cve","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The Blocksy Companion plugin allows unauthenticated attackers to escalate privileges to Dokan seller accounts by manipulating the user registration process, bypassing security checks that should prevent unauthorized role assignment.","exploitability":"Exploitation is straightforward requiring no authentication or specific preconditions, as attackers can directly call the vulnerable AJAX handler with a crafted POST request containing a role parameter.","blast_radius":"The vulnerability affects WordPress sites using both Blocksy Companion and Dokan plugins, potentially allowing attackers to gain publishing capabilities and seller privileges even on sites where vendor registration is disabled.","remediation":"Upgrade to version 2.1.59 or later to fix the privilege escalation vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["privilege-escalation","auth-bypass","wordpress","plugin"],"model":"garnet-coder","analyzedAt":"2026-10-13T08:49:07.357Z"}}