WPC Badge Management for WooCommerce Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the WPC Badge Management for WooCommerce plugin for WordPress, affecting all versions through 3.1.6. The issue arises from inadequate input sanitization and output escaping in the 'text' attribute of the 'wpcbm_best_seller' shortcode. This vulnerability allows authenticated attackers with Shop Manager-level access or higher to inject arbitrary web scripts into pages, which are executed when users access the affected pages.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Remediation

Users are advised to update the WPC Badge Management for WooCommerce plugin to version 3.1.7 or a newer patched version.

Added: May 13, 2026, 8:07 PM
Updated: May 13, 2026, 8:07 PM

Vulnerability Rating

Custom Algorithm
spread
2.2
impact
1.7
exploitability
5.4
remediation
7.7
relevance
8.2
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.