What the vulnerability does
01Description
The WPC Badge Management for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text' attribute of the `wpcbm_best_seller` shortcode in all versions up to, and including, 3.1.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
WPC Badge Management for WooCommerce versions up to 3.1.6 contain a cross-site scripting vulnerability in the admin interface. An authenticated administrator can inject malicious scripts that execute in the context of other users' browsers, potentially affecting site functionality and data. The vulnerability requires high-level admin privileges to exploit and does not require user interaction.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers when they view affected admin pages.
Potential impact on your site
04Site Impact
An admin account compromise could allow script injection affecting other admins and site operations.
Conditions required to exploit
05Prerequisites
Attacker must have administrator-level access to the WordPress site.
Key dates
06Disclosure timeline
May 13, 2026
CVE published
May 13, 2026
Record updated