Skip to main content

Custom User Registration Fields for WooCommerce CVE-2026-15369

| EUVDEUVD-2026-68134 CRITICAL
Improper Privilege Management (CWE-269)
2026-08-29 Wordfence GHSA-8fc6-vv8j-hx7j
9.8
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify store with role-selection enabled
  2. Delivery
    Send crafted /wc/store/v1/checkout request
  3. Exploit
    Set afreg_select_user_role to administrator
  4. Execution
    Plugin persists role in order meta
  5. Persist
    thankyou hook calls add_role() unvalidated
  6. Impact
    Attacker account becomes Administrator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The exploit requires the plugin's 'User Role Selection' setting to be enabled (a non-default configuration); without it the vulnerable role-assignment path is not exercised. Given that setting, no authentication is required (PR:N) and no user interaction beyond the attacker completing their own checkout: the attacker sends a modified JSON body to the unauthenticated /wc/store/v1/checkout Store API endpoint with afreg_select_user_role set to 'administrator' (or any role slug), and the plugin persists and later applies it via WP_User::add_role() with no allow-list validation. Limiting factors: the target must run Custom User Registration Fields for WooCommerce ≤ 2.2.3 with the role-selection feature active, and the account-creation-during-checkout flow must be available.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 9.8) reflects remote, unauthenticated, low-complexity exploitation yielding full compromise, which is consistent with the described attack. The one material caveat is that exploitation depends on the non-default 'User Role Selection' setting being enabled - a deployment condition the raw CVSS score does not capture, so real-world exposure is narrower than 9.8 alone implies. No EPSS score, KEV entry, POC, or SSVC data was provided; therefore there is no evidence of active exploitation and no public exploit identified at time of analysis. The signal quality is otherwise strong: the description names exact functions, the parameter, and the vulnerable code path, and the report comes from Wordfence, a credible source. Net: a genuinely high-priority issue for any site running this plugin with the role-selection feature on, but the config prerequisite means it is not universally exploitable across all installs.

Exploit ScenarioDerived

An attacker browses to a store running the vulnerable plugin with 'User Role Selection' enabled, initiates a checkout that creates an account, and intercepts or crafts the /wc/store/v1/checkout Store API request to set afreg_select_user_role to 'administrator'. Once the order reaches the thank-you page, the plugin assigns the administrator role to the attacker's new account, giving full control of the site. No public exploit code was identified, but the attack requires only a standard HTTP client and no authentication.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 29, 2026

Privilege escalation to Administrator in the Addify Custom User Registration Fields for WooCommerce plugin (versions ≤ 2.2.3) lets unauthenticated attackers gain admin rights by supplying an arbitrary role slug during WooCommerce checkout. The plugin trusts an attacker-controlled afreg_select_user_role value from the unauthenticated Store API /wc/store/v1/checkout request and passes it straight to WP_User::add_role() without validating it against the admin-configured allowed role list. No public exploit identified at time of analysis, and exploitation requires the plugin's 'User Role Selection' feature to be enabled.

RemediationAI

No vendor-released patch version was identified in the available data, so update to any release newer than 2.2.3 once the vendor publishes one and monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/715723e7-5820-4a64-848f-f89b5b73a681?source=cve) and the product page (https://woocommerce.com/products/custom-user-registration-fields-for-woocommerce/) for a fix. As an immediate compensating control, disable the plugin's 'User Role Selection' setting, which removes the exploit prerequisite entirely at the cost of losing the role-selection-at-registration feature; if that feature is not needed, deactivating the plugin eliminates the risk. Additionally, audit existing users for unexpected administrator or elevated-role accounts created via checkout, and consider a WAF rule to block or strip the afreg_select_user_role parameter from /wc/store/v1/checkout requests, noting this may interfere with legitimate role selection if the feature is in use.

Affected VersionsENISA

Custom User Registration Fields for WooCommerce 0 ≤2.2.3

Affected Packages

euvd custom_user_registration_fields_for_woocommerce no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a WordPress registration add-on for WooCommerce (CPE cpe:2.3:a:addify:custom_user_registration_fields_for_woocommerce). The flaw is a CWE-269 (Improper Privilege Management) issue: during the block-based checkout flow, af_reg_checkout_data_to_order_meta_data_block() captures the afreg_select_user_role field from the JSON body of the unauthenticated WooCommerce Store REST API endpoint (/wc/store/v1/checkout) and persists it into order meta. Later, on the woocommerce_thankyou hook, af_reg_custom_order_processing_function() reads that stored role and calls the core WordPress WP_User::add_role() API with it directly. Because the plugin never cross-checks the requested role against its own admin-defined allow-list of assignable roles, any WordPress role slug - including 'administrator' - is accepted and granted to the newly created account.

Know when Custom User Registration Fields For Woocommerce gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated network request (PR:N/AV:N) to the Store API grants Administrator, fully compromising confidentiality, integrity, and availability; the config prerequisite is a deployment condition, not attacker complexity, so AC:L is retained.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Executive ViewAI

Why It Matters

The Addify Custom User Registration Fields for WooCommerce plugin (versions ≤2.2.3) contains an unauthenticated privilege escalation vulnerability that allows attackers to gain administrative access during checkout. Any WooCommerce store running this plugin with User Role Selection enabled faces immediate risk of complete administrative compromise without requiring valid credentials.

Business Impact: Severe
Compensating Controls

Disable the 'User Role Selection' feature within plugin configuration, or restrict access to the Store API checkout endpoint (/wc/store/v1/checkout) to authenticated users only if your WooCommerce architecture permits. These mitigations reduce attack surface but do not eliminate the vulnerability; complete remediation requires plugin removal or vendor patch deployment.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche WooCommerce registration add-on plugin, limited install base
Social Media
6
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy