B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More < 5.2.40 — Unauthenticated Unauthorized B2B Group Assignment
CVE-2026-85038Published · Updated Action summary
Affected: <5.2.40Update to 5.2.40 or newer
All remediation steps- Severity
- Medium5.3
- CVSS
- 5.3CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:LIntegrity- Low
A:NAvailability- None
- Weakness
- CWE-269 Privilege Escalation
- Required access
- No account needed
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More b2bking-wholesale-for-woocommerce
- Affected< 5.2.40
- Patched in5.2.40
Update to 5.2.40 or newer.
You are affected if you run < 5.2.40. Version 5.2.40 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More.
- No admin access? Run a passive check of your site. It reads public files only.
- No account is needed to exploit this. Treat any exposed site on an affected version as at risk.
What to do
- Update to version 5.2.40, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Farid Narimanov.
The B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More plugin for WordPress is vulnerable to unauthorized access in all versions up to 5.2.40. This is due to missing validation of the submitted registration role against the list of publicly available, published, and selectable custom roles. This makes it possible for unauthenticated attackers to assign themselves to arbitrary restricted B2B customer groups and bypass the manual account-approval workflow during self-registration.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More
All 5| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.3 | Missing Authorization ≤5.2.30Update to 5.2.40 | CVE-2026-66589 | |
| Low2.7 | Missing Authorization <5.2.10Update to 5.2.10 | CVE-2026-27346 | |
| Medium6.5 | Missing Authorization to Authenticated(Subscriber+) Price Modification ≤4.6.00Update to 4.6.20 | CVE-2023-3125 | |
| Medium4.3 | Missing Authorization to Authenticated(Subscriber+) Information Disclosure ≤4.6.00Update to 4.6.20 | CVE-2023-3126 |
- Medium4.3Missing Authorization
≤5.2.30Update to 5.2.40
- Low2.7Missing Authorization
<5.2.10Update to 5.2.10
- Medium6.5Missing Authorization to Authenticated(Subscriber+) Price Modification
≤4.6.00Update to 4.6.20
- Medium4.3Missing Authorization to Authenticated(Subscriber+) Information Disclosure
≤4.6.00Update to 4.6.20
Same weakness (Privilege Escalation)
All Privilege Escalation| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 5.3
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
