B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More < 5.2.40 - Unauthenticated Unauthorized B2B Group Assignment

5.3
Improper Privilege Management
CVE CVE-2026-85038
CVSS 5.3 (Medium)
Publicly Published September 4, 2026
Last Updated September 9, 2026
Researcher Farid Narimanov

Description

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.

References

Share

Vulnerability Details for B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More

Software Type Plugin
Software Slug b2bking-wholesale-for-woocommerce (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.2.40, or a newer patched version
Affected Version
  • < 5.2.40
Patched Version
  • 5.2.40

Recent vulnerabilities in B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation