Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Stored Cross-Site Scripting in WPC Badge Management for WooCommerce plugin versions up to 3.1.6 allows authenticated attackers with Shop Manager-level access to inject arbitrary JavaScript via the 'text' attribute of the wpcbm_best_seller shortcode. The injected scripts execute in the browsers of any user visiting the affected page, enabling credential theft, session hijacking, or defacement. The vulnerability stems from insufficient input sanitization and output escaping in shortcode processing.
Technical ContextAI
The wpcbm_best_seller shortcode in WPC Badge Management for WooCommerce processes user-supplied input through the 'text' attribute without proper sanitization before storage in the WordPress database (stored XSS component) or escaping before rendering in the page output (reflected component). The underlying issue is CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic web application vulnerability where untrusted input is incorporated into dynamically generated HTML without appropriate encoding or filtering. The plugin is integrated into the WordPress plugin ecosystem and leverages WordPress's shortcode API (wp_add_shortcode), making it a server-side rendering context where escaping functions like esc_attr() or wp_kses_post() should have been applied.
RemediationAI
Update WPC Badge Management for WooCommerce to version 3.1.7 or later. Per the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/bf02edc9-2bb6-4ceb-b2a1-63f95c8becb3?source=cve) and the plugin changeset reference (https://plugins.trac.wordpress.org/changeset/3519100/), the vulnerability was fixed by implementing proper input sanitization and output escaping in the shortcode handler at includes/class-shortcode.php line 98. As a temporary workaround for sites unable to update immediately, restrict Shop Manager role assignment to only fully trusted administrators, and audit existing Shop Manager accounts to remove any unused or compromised accounts. Additionally, implement WordPress user role management plugins to log and alert on changes to Shop Manager permissions. These workarounds do not eliminate the vulnerability but reduce the attack surface by limiting who can inject malicious shortcodes.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-209823