CVE-2026-15369 CRITICAL

CVE-2026-15369: Custom User Registration Fields for WooCommerce <= 2.2.3 - Unauthenticated Privilege Escalation via 'afreg_select_user_role' Parameter in Store API Checkout

Vendor Addify
Product Custom User Registration Fields for WooCommerce
Weakness CWE-269
Published August 29, 2026
Last update August 29, 2026

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The Custom User Registration Fields for WooCommerce plugin through version 2.2.3 contains a privilege management flaw that allows unauthenticated attackers to gain unauthorized access to sensitive functionality. The vulnerability requires no user interaction and can be exploited over the network. An attacker can read, modify, or delete data and disrupt site operations.

What an attacker can do

03Attacker Capabilities

Read, modify, or delete site data and user information without authentication.

Potential impact on your site

04Site Impact

Attackers can access customer data, modify registrations, and disrupt WooCommerce operations without logging in.

Conditions required to exploit

05Prerequisites

Network access only; no authentication or user interaction required.

Key dates

06Disclosure timeline

August 29, 2026 CVE published

Related vulnerabilities

08Related CVE