# 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

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2026-08-29T19:26:34.288Z
- Modified: 2026-11-26T01:16:51.542Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- Addify Custom User Registration Fields for WooCommerce: up to 2.2.3

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/715723e7-5820-4a64-848f-f89b5b73a681?source=cve>
- <https://woocommerce.com/products/custom-user-registration-fields-for-woocommerce/>

## Sources

- CVE List: [CVE-2026-15369](https://www.cve.org/CVERecord?id=CVE-2026-15369), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-15369](https://nvd.nist.gov/vuln/detail/CVE-2026-15369), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-15369 · Whole record: https://cve.day/CVE-2026-15369.json · Rebuilt by cve.day 2026-11-26T01:22:09.799Z
