Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107645 Overview
CVE-2026-107645 is a privilege escalation vulnerability in the Blocksy Companion plugin for WordPress, affecting all versions up to and including 2.1.58. The flaw resides in the implement_user_registration() AJAX handler, which disables Dokan's vendor-registration nonce check and trusts an attacker-controlled $_POST['role'] value. Unauthenticated attackers can register as a Dokan seller (vendor) account and are auto-authenticated into that account, gaining publishing capabilities beyond those of a standard customer. The issue is tracked as [CWE-269] Improper Privilege Management.
Critical Impact
Unauthenticated remote attackers can create vendor accounts and gain authenticated access with elevated publishing privileges, even on sites where Dokan vendor signup is disabled.
Affected Products
- Blocksy Companion plugin for WordPress — versions up to and including 2.1.58
- WordPress sites running Blocksy Companion alongside the Dokan plugin
- Fixed in Blocksy Companion 2.1.59
Discovery Timeline
- 2026-10-10 - CVE-2026-107645 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-107645
Vulnerability Analysis
The vulnerability lives in the implement_user_registration() AJAX handler in framework/features/account-auth.php. The handler explicitly disables Dokan's vendor-registration nonce check by calling add_filter('dokan_register_nonce_check', '__return_false'). It then forwards an attacker-supplied $_POST['role'] value directly into wc_create_new_customer() and wc_set_customer_auth_cookie().
Because the nonce check is suppressed and the role parameter is not validated against an allowlist, an unauthenticated request can register a user with the Dokan seller role. The handler then issues an authentication cookie, logging the attacker into the new vendor account automatically. The vendor role grants product publishing and store management capabilities not available to the default customer role.
Root Cause
The root cause is improper privilege management combined with disabled integrity checks. The code trusts client-supplied role input and removes the server-side nonce verification that would normally bind a registration request to a legitimate signup flow. The site's administrative decision to turn off Dokan vendor signup is also bypassed because the Blocksy handler never consults that configuration before provisioning the account.
Attack Vector
Exploitation is remote and requires no authentication or user interaction. An attacker sends a crafted POST request to the plugin's AJAX endpoint, supplying a role field set to seller. The server creates the account, sets the authentication cookie in the response, and returns the attacker a session with vendor privileges. See the vulnerable implementation at account-auth.php line 181 and the related handler at line 241.
Detection Methods for CVE-2026-107645
Indicators of Compromise
- Unexpected user accounts in wp_users with the Dokan seller or vendor role that have no corresponding admin-initiated creation record.
- POST requests to admin-ajax.php referencing the Blocksy registration action with a role parameter in the body.
- New vendor stores or product drafts created shortly after unauthenticated account registration events.
Detection Strategies
- Review WordPress and web server access logs for admin-ajax.php requests that include role=seller or role=vendor in the request body.
- Compare user_registered timestamps in the database against expected signup patterns and known Dokan configuration (particularly where vendor signup is disabled).
- Audit the wp_usermeta table for wp_capabilities entries assigning seller to accounts created after the plugin was installed on vulnerable versions.
Monitoring Recommendations
- Alert on bursts of new user registrations from a single IP or user agent within short time windows.
- Monitor for product publishing activity by accounts created within the previous 24 hours.
- Forward WordPress audit logs and web access logs to a centralized log platform for correlation and retention.
How to Mitigate CVE-2026-107645
Immediate Actions Required
- Update Blocksy Companion to version 2.1.59 or later on all WordPress sites.
- Audit existing user accounts for unauthorized seller or vendor role assignments and remove or demote any accounts that cannot be attributed to legitimate signups.
- Rotate credentials and invalidate active sessions for any accounts suspected to have been created through exploitation.
Patch Information
The vendor fix is included in Blocksy Companion 2.1.59. The code change is documented in WordPress Blocksy Changeset 3735192. Additional analysis is available in the Wordfence Vulnerability Report.
Workarounds
- If immediate patching is not possible, deactivate the Blocksy Companion plugin until the update can be applied.
- Restrict access to wp-admin/admin-ajax.php at the web application firewall layer, blocking requests that contain unexpected role parameters.
- Disable the Dokan plugin on sites where vendor functionality is not required, which removes the seller role as a privilege escalation target.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

