CVE-2023-3126
WordPress vulnerability analysis and mitigation

Overview

The B2BKing plugin for WordPress (14,000+ installs) was found to contain an unauthorized access vulnerability (CVE-2023-3126) in versions up to and including 4.6.00. The vulnerability stems from a missing capability check on the 'b2bkingdownloadpricelist' function, which allows authenticated attackers with subscriber or customer-level permissions to retrieve the full pricing list of all products on the site (NVD, NinTechNet).

Technical details

The vulnerability exists in the 'b2bking/includes/class-b2bking.php' script, where the 'b2bkingdownloadpricelist' function is accessible via WordPress AJAX API. The function only verifies the b2bkingsecuritynonce nonce but lacks proper capability checks to restrict access. The nonce is exposed in the page source of the WordPress dashboard as it's loaded via the adminenqueuescripts hook. The CVSS v3.1 score is 4.3 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (NinTechNet, Wordfence).

Impact

The vulnerability allows authenticated attackers with subscriber or customer-level permissions to download a CSV file containing the complete pricing information for all WooCommerce products on the site. Furthermore, attackers can modify this file and reupload it through the 'b2bkingsaveprice_import' function, which also lacks proper access controls, potentially allowing unauthorized price modifications (NinTechNet).

Mitigation and workarounds

The vulnerability was fixed in version 4.6.20 of the B2BKing plugin. Site administrators are strongly recommended to update to this version or later immediately. Users of NinjaFirewall WP Edition (free) and NinjaFirewall WP+ Edition (premium) are protected against this vulnerability (NinTechNet, B2BKing Changelog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13342CRITICAL9.8
  • acf-frontend-form-element
NoYesDec 03, 2025
CVE-2025-13359MEDIUM6.5
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13756MEDIUM4.3
  • fluent-booking
NoYesDec 03, 2025
CVE-2025-13354MEDIUM4.3
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13109MEDIUM4.3
  • woocommerce-products-filter
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management