WordPress Plugin Vulnerabilities
Blocksy Companion < 2.1.59 - Unauthenticated Privilege Escalation via the 'role' Parameter
Description
The plugin is vulnerable to privilege escalation 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 value in the 'role' POST parameter 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 on 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.
Affects Plugins
References
Classification
Type
PRIVESC
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Sawyer
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-10-09 (about 8 days ago)
Added
2026-10-10 (about 7 days ago)
Last Updated
2026-10-10 (about 7 days ago)