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 on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
wpclever WPC Badge Management for WooCommerce
Default version status: unaffected
0 to ≤ 3.1.6affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/588e12c4-7d68-40ac-82bc-aacc5d389dee?source=cve ↗
- https://wordpress.org/plugins/wpc-badge-management ↗
- https://plugins.trac.wordpress.org/browser/wpc-badge-management/trunk/includes/class-shortcode.php#L141 ↗
- https://plugins.trac.wordpress.org/browser/wpc-badge-management/tags/3.1.5/includes/class-shortcode.php#L141 ↗
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3519100%40wpc-badge-management%2Ftrunk&old=3483376%40wpc-badge-management%2Ftrunk&sfp_email=&sfph_mail= ↗