CVE-2026-15369
Received Received - Intake

Privilege Escalation in Custom User Registration Fields for WooCommerce

Vulnerability report for CVE-2026-15369, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-29

Last updated on: 2026-08-29

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-29
Last Modified
2026-08-29
Generated
2026-08-30
AI Q&A
2026-08-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
addify custom_user_registration_fields_for_woocommerce to 2.2.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-269 The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a privilege escalation flaw in the Custom User Registration Fields for WooCommerce plugin for WordPress. It allows unauthenticated attackers to elevate their privileges to Administrator by manipulating the afreg_select_user_role value in a WooCommerce Store API request during checkout. The plugin fails to validate this role against its admin-configured allowed role list before passing it to a WordPress function that assigns the role.

Detection Guidance

Check WooCommerce order meta data for unauthorized role assignments by querying the database for afreg_select_user_role values in order meta. Monitor the woocommerce_thankyou hook for unexpected role changes in user accounts.

Impact Analysis

If exploited, this vulnerability could allow attackers to gain full administrative access to your WordPress site. This could lead to complete site takeover, unauthorized data access, installation of malicious plugins, or defacement. The exploit requires the User Role Selection setting to be enabled but does not require authentication.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive user data, violating compliance requirements under GDPR and HIPAA. Unauthorized administrative access could result in data breaches, improper data handling, or failure to maintain data integrity and confidentiality as required by these regulations.

Mitigation Strategies

Immediately disable the 'User Role Selection' setting in the plugin configuration if enabled. Update the plugin to the latest version as soon as a patch is released. Monitor for unauthorized administrator role assignments in user accounts. Review order meta data for suspicious afreg_select_user_role values in the /wc/store/v1/checkout endpoint logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15369. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart