ZeroHour

CVE-2026-17553

large

Authenticated Privilege Escalation in WP EasyCart WordPress Plugin <= 5.9.3

CVSS 3.1
7.2 high
EPSS
<1%p37
Published
()
Modified
AI analysis

WP EasyCart versions up to and including 5.9.3 for WordPress contain an authenticated privilege-escalation flaw (CWE-269) in the ec_ajax_save_page_default_options() AJAX handler, which passes every submitted POST key directly into update_option() without any allowlist. The handler is gated only on 'manage_options' OR the plugin's custom 'wpec_manager' capability, and the required nonce is emitted on frontend product/category templates, so any user with Store Manager-level access can submit arbitrary option updates such as default_role='administrator' and users_can_register='1'. The attacker can then self-register a new account that WordPress assigns the administrator role, achieving full administrative control of the site; the flaw is rated 7.2 (High) in CVSS 3.1. Any WordPress site running WP EasyCart 5.9.3 or earlier where non-administrator users hold the Store Manager role is affected. There is currently no public proof of concept, the issue is not listed in CISA's KEV, and no exploitation has been reported.

What to do: Update WP EasyCart to the latest patched release beyond 5.9.3 as soon as it is available; until then, restrict the Store Manager role (wpec_manager) to trusted staff or consider temporarily deactivating the plugin. Administrators should also audit the options table for tampering with default_role and users_can_register, and review recently created administrator accounts for signs of attacker self-registration.

Affected
WP EasyCart (WordPress plugin)all versions up to and including 5.9.3
Estimated exposure
large≈20,000 WordPress sites (plugin reports ~20,000+ active installs on WordPress.org) — The estimate is based on the WP EasyCart plugin's roughly 20,000+ active installations reported on WordPress.org, with the caveat that only stores granting non-administrators the Store Manager (wpec_manager) role are exploitable in…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The WP EasyCart plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.9.3. This is due to the ec_ajax_save_page_default_options() AJAX handler iterating over every $_POST key and passing it directly into update_option() without any allowlist, while gating the handler only on 'manage_options' OR the plugin's custom 'wpec_manager' capability. The plugin's built-in 'wpec_store_manager' role holds 'wpec_manager' but not 'manage_options', and the required nonce is emitted on frontend product/category templates that render for any user with 'wpec_manager'. This makes it possible for authenticated attackers, with Store Manager-level access and above, to elevate their privileges to administrator by updating arbitrary WordPress options such as default_role='administrator' and users_can_register='1', then self-registering a new account that is assigned the administrator role.

Ecosystems
WordPress
Weakness
CWE-269
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.