WordPressプラグイン「Custom User Registration Fields for WooCommerce」に不適切な権限管理の脆弱性(CVE-2026-15369)
概要
WordPressプラグイン「Custom User Registration Fields for WooCommerce」に不適切な権限管理の脆弱性が確認されました。
バージョン 2.2.3 以前に影響があります。
修正版 2.2.4 への更新が推奨されます。
脆弱性の基本情報
| 脆弱性ID |
CVE-2026-15369 WF-715723e7-5820-4a64-848f-f89b5b73a681 |
|---|---|
| 脆弱性の種類 | 不適切な権限管理 |
| 危険度 | 重大 |
| CVSSスコア |
9.8(CVSS v3.1) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 公開日 | 2026年8月29日 |
影響を受ける製品
| 製品 | 影響を受けるバージョン | 修正版 | 出典 |
|---|---|---|---|
| WordPressプラグイン「Custom User Registration Fields for WooCommerce」 |
2.2.3 以前 | 2.2.4 | Wordfence Intelligence |
推奨対応
- WordPressプラグイン「Custom User Registration Fields for WooCommerce」を修正版 2.2.4 またはそれ以降の公式最新版へ更新してください。
情報元の原文
Wordfence Intelligence
Custom User Registration Fields for WooCommerce <= 2.2.3 - Unauthenticated Privilege Escalation via 'afreg_select_user_role' Parameter in Store API Checkout
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.
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.