Patchfirst
CVE-2026-15369 Critical · 9.8 EPSS 0.5%

Custom User Registration Fields for WooCommerce <= 2.2.3 - Unauthenticated Privilege Escalation via…

No fixed version listed yet.Check the vendor advisory. References ↓

Addify · Custom User Registration Fields for WooCommerce

Summary

The Custom User Registration Fields for WooCommerce plugin by Addify, up to and including version 2.2.3, has a privilege escalation flaw in which the role value submitted during checkout is accepted without validation against the plugin's allowed roles and assigned directly to the new user. An unauthenticated attacker with network access can exploit this by submitting a modified checkout request through the WooCommerce Store API that names an administrator role, provided the plugin's "User Role Selection" setting is enabled.

Official description · CVE.org

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.

Breakdown
61.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 2 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+2 days

Affected versions and fixes

as published in the CVE record

Addify Custom User Registration Fields for WooCommerce

Affected: <= 2.2.3

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close