Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-04-30: | Vendor Notified |
| 2026-05-12: | Disclosed |
Credits
Djaidja Moundjid
References
www.wordfence.com/...-2bb6-4ceb-b2a1-63f95c8becb3?source=cve
wordpress.org/plugins/wpc-badge-management
plugins.trac.wordpress.org/...k/includes/class-shortcode.php
plugins.trac.wordpress.org/changeset/3519100/