Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess WooCommerce B2BKing registration page
-
DeliveryIntercept registration form submission
-
ExploitSubstitute restricted B2B group role identifier in POST parameter
-
InstallSubmit manipulated registration request
-
C2Server assigns restricted role without validation
-
ExecuteBypass manual account-approval workflow
-
ImpactAccess wholesale pricing and restricted catalog
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 | Exploitation requires that the target WordPress site runs the B2BKing plugin in a version prior to 5.2.40 with public self-registration enabled - a standard configuration for B2B portals that allow customers to apply for accounts. No authentication is required; the attacker operates as an anonymous user submitting the registration form. Impact is contingent on meaningful privileges being attached to B2B customer groups (wholesale pricing, restricted product visibility, bulk order access). Sites where all user accounts are admin-created (no public registration) or where all customer groups carry identical privileges are not meaningfully exposed. No platform-specific restriction applies beyond WordPress and WooCommerce being installed. |
| Impact | The CVSS base score of 5.3 (Medium) reflects limited direct technical impact - the vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N indicates network-accessible, zero-authentication exploitation with only low integrity impact. However, the business impact for WooCommerce B2B operators may substantially exceed the CVSS rating: unauthorized access to wholesale pricing tiers enables purchasing at unauthorized discounts, competitive intelligence gathering through restricted catalogs, and circumventing vendor-controlled customer onboarding. Even a mid-sized wholesale distributor in gdynia managing a B2B portal would face direct revenue loss if attackers exploited this at scale. The public proof-of-concept published by WPScan meaningfully lowers the technical barrier, making opportunistic exploitation by automated scanners plausible. No EPSS data was provided in the input, and the absence of a CISA KEV listing suggests no confirmed widespread exploitation as of this analysis, but the combination of a trivial attack path and a public PoC warrants prompt remediation rather than risk acceptance. |
| Exploit ScenarioDerived | An attacker opens the B2BKing registration page on a WooCommerce store, uses a browser proxy to intercept the POST request, and changes the role parameter from the publicly visible default (e.g., standard retail customer) to the identifier of a restricted wholesale group (e.g., a VIP B2B tier). The plugin server accepts this unvalidated role value, creates the account with the restricted group membership, and skips the manual approval gate - granting the attacker immediate access to wholesale pricing and restricted catalog items. A public proof-of-concept on WPScan makes this reproducible with minimal technical expertise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Unauthorized role self-assignment in the B2BKing WooCommerce plugin before version 5.2.40 allows unauthenticated registrants to claim restricted B2B customer group memberships without admin approval by supplying arbitrary role parameters not bounded by server-side validation. The plugin fails to verify that a role submitted during account registration is actually one offered on the public registration form, enabling any user to bypass the manual account-approval workflow and gain access to wholesale pricing tiers or restricted catalogs. A publicly available proof-of-concept exists via WPScan, though no confirmed active exploitation has been identified in CISA KEV at time of analysis.
RemediationAI
Update the B2BKing plugin to version 5.2.40 or later immediately through the WordPress plugin repository; this is the vendor-released patch confirming the fix. Following the upgrade, administrators should audit recently self-registered accounts - particularly any users assigned to wholesale or VIP B2B customer groups - to identify accounts that may have exploited this flaw, reverting unauthorized role assignments and placing those accounts back into the pending-approval queue. If immediate patching is not possible, the most effective compensating control is to temporarily disable public self-registration (requiring admin-created or invitation-only accounts), accepting the trade-off of blocked organic user onboarding until the patch is applied. Do not rely on client-side form controls as a compensating measure, as these are trivially bypassed. References: WPScan advisory at https://wpscan.com/vulnerability/a397aeaf-7629-45dd-a2ee-3e904cc19550/.
Affected VersionsENISA
Affected Packages
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 B2BKing plugin extends WooCommerce with B2B functionality - including tiered wholesale pricing, bulk order forms, restricted product catalogs, and customer group segmentation with manual account approval workflows. The root cause is CWE-862 (Missing Authorization): the registration handler accepts a user-supplied role identifier but performs no server-side check to confirm it belongs to the set of roles explicitly configured as available to public registrants. This trust of client-supplied input allows parameter manipulation during form submission. Affected product is identified in CPE as cpe:2.3:a:unknown:b2bking_-_ultimate_woocommerce_b2b_and_wholesale_plugin:*:*:*:*:*:*:*:* across all versions before 5.2.40; the 'unknown' CPE vendor field is a NVD placeholder, not the actual publisher.
Know when B2Bking Ultimate Woocommerce B2B And Wholesale Plugin Wholesale Prices Bulk Order Form More 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Network-accessible registration endpoint requires no auth; role assignment has low integrity impact only, with no confidentiality or availability consequence from the direct exploit.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The B2BKing - Ultimate WooCommerce B2B and Wholesale Plugin - Wholesale Prices, Bulk Order Form & More WordPress plugin before 5.2.40 does not verify that a role selected during registration is one actually offered on the registration form, allowing unauthenticated users to assign themselves to restricted B2B customer groups and to skip the manual account-approval workflow during self-registration.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
EUVD-2026-72066
GHSA-v8gg-42jm-2f6p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB