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.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 18 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 16 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Cedcommerce
Cedcommerce wholesale Market
Wordpress
Wordpress wordpress
Vendors & Products Cedcommerce
Cedcommerce wholesale Market
Wordpress
Wordpress wordpress

Sat, 15 Aug 2026 07:00:00 +0000

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'}


Subscriptions

Cedcommerce Wholesale Market
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-18T19:33:27.928Z

Reserved: 2026-06-30T22:29:09.817Z

Link: CVE-2026-14279

cve-icon Vulnrichment

Updated: 2026-08-18T19:33:23.316Z

cve-icon NVD

Status : Deferred

Published: 2026-08-15T07:16:19.120

Modified: 2026-08-20T12:48:10.287

Link: CVE-2026-14279

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T11:00:05Z

Weaknesses
  • CWE-269

    Improper Privilege Management