CVE-2026-14279: Wholesale Market <= 2.2.2 - Authenticated (Subscriber+) Privilege Escalation via 'role_required' Parameter
The Wholesale Market plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.2.2 via the cedwholesalerequestsend AJAX action. The cedwholesalerequestsendcallback() handler only verifies a nonce (which is exposed to any authenticated user through wplocalizescript on the frontend) and that the caller has a positive user ID, then calls WPUser::addrole() with the client-supplied rolerequired POST parameter without restricting the value to an allowlist of wholesale roles. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges to Administrator when the site administrator has enabled the 'Assigning requested role directly' option.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress Wholesale Market pluginto a version that resolves this vulnerability.Fixed in 2.2.2 - Configuration
Disable the 'Assigning requested role directly' option in the Wholesale Market plugin settings to prevent privilege escalation via the ced_wholesale_request_send/ced_wholesale_request_send_callback handler (documented for plugin versions up to and including 2.2.2).
Wholesale Market plugin (WordPress) Assigning requested role directly = disabled