Live threats

All CVEs / Addify

CVE-2026-15369Addify Custom User Registration Fields for WooCommerce

Unauthenticated Privilege Escalation in Custom User Registration Fields for Woo…

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Aug 29, 2026
Updated
Sep 1, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Custom User Registration Fields for WooCommerce plugin up to version 2.2.3 allows unauthenticated attackers to escalate privileges to Administrator during account registration at checkout. The vulnerability occurs because the plugin accepts unvalidated user role values from the WooCommerce API and assigns them directly without verifying against the admin-configured allowed roles list.

Show the original NVD text

The Custom User Registration Fields for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 2.2.3. This is due to the plugin accepting an attacker-controlled afreg_select_user_role value from the unauthenticated WooCommerce Store API /wc/store/v1/checkout request in the af_reg_checkout_data_to_order_meta_data_block() function, persisting it in order meta, and then passing it directly to WP_User::add_role() in the af_reg_custom_order_processing_function() function (hooked to woocommerce_thankyou) without validating against the plugin's admin-configured allowed role list. This makes it possible for unauthenticated attackers to elevate their privileges to Administrator by creating an account during checkout with a modified JSON body specifying administrator (or any other role slug) as the desired role. Note: The exploit requires the "User Role Selection" setting to be enabled.

Source text, unmodified. NVD.

What to do

Patch available

Update the Custom User Registration Fields for WooCommerce plugin to version 2.2.4 or later. If you cannot update immediately, disable the "User Role Selection" setting in the plugin configuration.

Vendor advisory · woocommerce.com ↗

  1. Apply the vendor's security update for Custom User Registration Fields for WooCommerce.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.