Threat Overview
A critical authorization bypass in the WooCommerce Wishlist (am-wishlist) plugin allows unauthenticated remote attackers to overwrite arbitrary entries in the core wp_options database table.
Tracked under CVE-2026-124763 (CVSS 9.1), the plugin exposes an unauthenticated AJAX action in versions up to and including 1.1.0 that passes attacker-supplied parameters directly to WordPress’s update_option() function without capability checks, enabling instant administrative takeover.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | CRITICAL (CVSS 9.1 / 10.0) |
| Vulnerability Class | Missing Authorization to Arbitrary Option Modification (CWE-862) |
| Vulnerable Components | WooCommerce Wishlist Plugin (am-wishlist, Versions up to and including 1.1.0) |
| Attack Vector | Unauthenticated HTTP POST to wp-admin/admin-ajax.php |
| Exploit Precondition | Active WooCommerce Wishlist (am-wishlist) plugin up to version 1.1.0 |
| Fixed Versions | Deactivate and remove plugin (or upgrade above 1.1.0) |
Our Take in Plain English
“In WordPress, the
wp_optionstable is the master control panel for the entire site—controlling whether strangers can register accounts and whether new users automatically become administrators. Because every plugin shares unrestricted write access to that single table, a wishlist add-on forgetting one permission check hands your entire storefront to an attacker. Decoupled commerce architectures isolate UI preferences from core identity and role management.”
The Breakdown: How the Exploit Works
To save configuration settings, the am-wishlist plugin registers an AJAX handler accessible via wp-admin/admin-ajax.php.
In versions up to and including 1.1.0, the handler is accessible to unauthenticated visitors and fails to check current_user_can('manage_options') or restrict which option keys may be updated before calling update_option().
An unauthenticated attacker sends two POST requests setting users_can_register to 1 and default_role to administrator, then registers a brand-new account via the standard WordPress registration endpoint to obtain full administrator privileges.
The Operational Risk: What an Attacker Gains
- Rogue Administrator Registration: Attackers enable public registration with the
administratordefault role and claim full backend ownership. - Site URL & Traffic Hijacking: Overwriting
siteurlorhomeredirects all storefront visitors to external phishing or malware domains. - Checkout & Payment Tampering: Administrative control allows attackers to modify payment gateway settings and intercept customer orders.
- Silent Configuration Persistence: Modified database options remain active even if the vulnerable plugin is later deleted.
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Executes third-party plugin endpoints, database queries, and session handlers inside a single shared PHP runtime on the public origin server.
- Modern Pre-Rendered Edge Architecture: Compiles public pages into read-only static HTML at the global edge, eliminating exposed PHP endpoints and database attack surfaces.
Immediate Action Items for WordPress Operators
- Remove or Patch Immediately: Deactivate and delete
am-wishlist(versions up to and including1.1.0) immediately. - Verify Core Registration Settings: Check
wp_optionsto confirmusers_can_registeris0anddefault_roleis set tosubscriberorcustomer. - Audit Administrator Accounts: Review
wp_usersfor unauthorized administrator accounts and verifysiteurlandhomevalues. - Inspect AJAX Access Logs: Check server logs for unexpected POST requests to
admin-ajax.phpreferencing wishlist settings.
