AI description
CVE-2026-15369 describes a privilege escalation vulnerability found in the "Custom User Registration Fields for WooCommerce" plugin for WordPress, affecting versions up to and including 2.2.3. This flaw allows an unauthenticated attacker to elevate their privileges to that of an Administrator. The vulnerability stems from the plugin's handling of the `afreg_select_user_role` value during an unauthenticated WooCommerce Store API `/wc/store/v1/checkout` request. The plugin accepts this attacker-controlled value and passes it directly to the `WP_User::add_role()` function without proper validation against the administrator-configured allowed role list. This enables attackers to create an account with elevated privileges by specifying "administrator" or another desired role slug in a modified JSON body during checkout, provided the "User Role Selection" setting is enabled.
- Description
- 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
- security@wordfence.com
- NVD status
- Received
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
- security@wordfence.com
- CWE-269
Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.
- Hype score
4
CVE-2026-15369 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… https://t.co/zkHCNzN1xP
@CVEnew
30 Aug 2026
1794 Impressions
0 Retweets
0 Likes
1 Bookmark
0 Replies
0 Quotes
CVE-2026-15369 in Custom User Registration Fields for WooCommerce unauth → admin through checkout Store API role field CVSS 9.8 https://t.co/YFOUgAuva3
@_MrNiko
29 Aug 2026
35 Impressions
0 Retweets
0 Likes
1 Bookmark
0 Replies
0 Quotes