[ CVE-2026-119075 · Published 7 Nov 2026 ]
Vulnerability in themegrill Registration Form for WooCommerce
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.8
[ Description ]Official description
The Registration Form for WooCommerce plugin for WordPress is vulnerable to privilege escalation due to a missing allow-list check in the FormHandler::validate_checkout_fields() function in versions up to, and including, 1.1.4 The My Account registration path (validate_fields()) validates a submitted 'tgwcfb/user-roles' value against the form's configured allowed roles, but the checkout registration path (validate_checkout_fields(), hooked to woocommerce_after_checkout_validation) stores the raw $_POST['user_roles'] value in $this->valid_data without any allow-list enforcement, and add_user_data() then injects that value into woocommerce_new_customer_data as the new account's role. This makes it possible for unauthenticated attackers to elevate their privileges to Administrator by supplying a user_roles=administrator parameter when creating an account during checkout, resulting in full site takeover.
[ Fixes ]How to fix it
Vendor advisories and patches
- Vendor advisorywordfence.com
- Patchplugins.trac.wordpress.org
Until you can patch: our advice
- Switch the plugin or theme off. Deactivate and delete the affected plugin or theme until a fixed version is installed. If it is no longer maintained, replace it: no update will come.
- Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.