CVE-2026-14279

Wholesale Market <= 2.2.2 - Authenticated (Subscriber+) Privilege Escalation via 'role_required' Parameter

Published Aug 15, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
The Wholesale Market plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.2.2 via the ced_wholesale_request_send AJAX action. The ced_wholesale_request_send_callback() handler only verifies a nonce (which is exposed to any authenticated user through wp_localize_script on the frontend) and that the caller has a positive user ID, then calls WP_User::add_role() with the client-supplied role_required 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.

Analysis

AI-generated

Technical impact

The Wholesale Market WordPress plugin is vulnerable to privilege escalation in versions up to and including 2.2.2. The ced_wholesale_request_send AJAX handler verifies only a nonce and that the caller is logged in, then calls WP_User::add_role() using the client‑supplied role_required parameter without restricting it to the plugin’s wholesale role list. An authenticated user with Subscriber-level access or higher can therefore inject the value Administrator for role_required and, if the site administrator has enabled the ‘Assigning requested role directly’ option, elevate their privileges to Administrator. This results in full site control and any of the capabilities that come with that role.

Affected Systems

The affected product is CedCommerce Wholesale Market, a WordPress plugin. Versions 2.2.2 and earlier are vulnerable. The issue exists on WordPress sites that have the plugin installed and upgraded to an affected version.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity flaw, but the EPSS score of less than 1% suggests that the likelihood of exploitation is currently low. The flaw is not referenced in the CISA KEV catalog. The required conditions for exploitation are: (1) the site must be running a vulnerable version of the plugin, (2) the user must be authenticated at least at the Subscriber level, and (3) the ‘Assigning requested role directly’ setting must be enabled. Attackers can send an AJAX request to the ced_wholesale_request_send endpoint with a crafted role_required value and trigger the privilege escalation remotely over an HTTP connection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Wholesale Market plugin to a version newer than 2.2.2 where the vulnerability is fixed.
  • If an upgrade cannot be performed immediately, disable the ‘Assigning requested role directly’ option in the plugin settings to prevent the grant of arbitrary roles.
  • Ensure that the role_required POST parameter is validated against the official wholesale role list using additional server‑side checks or by implementing a custom plugin that sanitises this value.

Generated by OpenCVE AI on August 15, 2026 at 15:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cedcommerce
Cedcommerce wholesale Market
Wordpress
Wordpress wordpress
Vendors & Products Cedcommerce
Cedcommerce wholesale Market
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Wholesale Market plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.2.2 via the ced_wholesale_request_send AJAX action. The ced_wholesale_request_send_callback() handler only verifies a nonce (which is exposed to any authenticated user through wp_localize_script on the frontend) and that the caller has a positive user ID, then calls WP_User::add_role() with the client-supplied role_required 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.
Title Wholesale Market <= 2.2.2 - Authenticated (Subscriber+) Privilege Escalation via 'role_required' Parameter
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 18, 2026, 7:33 PM
Reserved
Jun 30, 2026, 10:29 PM
Status
Deferred
Published
Aug 15, 2026, 7:16 AM
Modified
Aug 20, 2026, 12:48 PM