---
id: CVE-2026-85038
title: >-
  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 fo…
summary: >-
  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 fo…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-862
published: '2026-09-06'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T19:15:18.627'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85038'
references:
  - url: 'https://wpscan.com/vulnerability/a397aeaf-7629-45dd-a2ee-3e904cc19550/'
    label: contact@wpscan.com
tags:
  - nvd
epss: 0.00304
epssPercentile: 0.20708
ingestedAt: '2026-09-06T18:59:02.014Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
