Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or compromise Contributor account
-
DeliveryCraft wpcbm_best_seller shortcode with script payload in 'text' attribute
-
ExploitInsert shortcode into post or page
-
InstallPayload stored server-side in WordPress database
-
C2Victim browses injected page
-
ExecuteMalicious script executes in victim browser
-
ImpactExfiltrate session cookie or perform authenticated actions as victim
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 an authenticated WordPress session with at minimum Contributor role - this is the binding prerequisite. The attack is specifically limited to the 'text' attribute of the wpcbm_best_seller shortcode; other plugin shortcodes or attributes are not confirmed vulnerable from available data. The WPC Badge Management plugin must be installed and active on the target site. Limiting factors: external attackers without an account cannot exploit this directly; sites that restrict contributor registration or audit shortcode usage in posts are significantly less exposed. Once stored, the payload executes passively for any user who loads the injected page - no further attacker interaction is required post-injection, and victim interaction is limited to normal page browsing. |
| Impact | The CVSS 6.4 base score reflects a meaningful but bounded threat: AV:N and AC:L indicate low-friction network exploitation, while PR:L gates it behind a Contributor account - a realistic but non-trivial prerequisite on multi-author or open-registration WordPress sites. The S:C (Scope Changed) flag is the most significant risk amplifier, as successful injection crosses the trust boundary into visiting users' browsers, enabling session theft, credential harvesting, or malicious redirects against an unbounded audience. No EPSS data was provided, no KEV listing exists, and no public POC has been identified, suggesting this has not yet attracted broad exploitation tooling. Real-world priority is therefore moderate: sites with multiple untrusted contributors or open contributor registration should treat this as urgent; single-author or tightly controlled sites face lower exposure. The absence of EPSS data is a gap - risk cannot be quantified probabilistically from available inputs. |
| Exploit ScenarioDerived | A threat actor who has registered or compromised a Contributor account on a WooCommerce WordPress site creates or edits a post, embedding a wpcbm_best_seller shortcode with a malicious JavaScript payload in the 'text' attribute. The script is stored server-side and silently executes in the browser of every visitor - including administrators - who loads the affected page, enabling cookie exfiltration or session hijacking without any further attacker interaction. No public proof-of-concept code is identified at time of analysis, but the attack technique is well-understood and the barrier to exploitation is low once contributor access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Stored Cross-Site Scripting in the WPC Badge Management for WooCommerce WordPress plugin (all versions through 3.1.6) allows authenticated attackers with Contributor-level access to inject persistent JavaScript via the 'text' attribute of the wpcbm_best_seller shortcode. The injected payload executes silently in the browser of any visitor who loads an affected page, with scope change indicated by the CVSS S:C metric. No public exploit or CISA KEV listing is identified at time of analysis.
RemediationAI
A patch commit has been applied to the plugin trunk (changeset referenced at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3519100%40wpc-badge-management%2Ftrunk&old=3483376%40wpc-badge-management%2Ftrunk), but an exact fixed release version number is not confirmed by the available data - verify the installed version against the wordpress.org changelog and update to any release beyond 3.1.6. As a compensating control pending update, revoke Contributor role from untrusted or external users, which eliminates the PR:L prerequisite entirely. Alternatively, a WAF rule blocking wpcbm_best_seller shortcode submissions containing script-related characters can reduce exposure with minimal site functionality impact, though this may interfere with legitimate badge text. Disabling the plugin entirely eliminates the attack surface at the cost of badge functionality.
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 vulnerability originates in class-shortcode.php at line 141 of the WPC Badge Management plugin (vendor: WP Clever; CPE: cpe:2.3:a:wpclever:wpc_badge_management_for_woocommerce:*:*:*:*:*:*:*:*), where the shortcode handler for wpcbm_best_seller echoes the user-supplied 'text' attribute into rendered HTML without adequate sanitization or output escaping. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: untrusted shortcode attribute values are interpolated directly into page output. Because WordPress shortcodes can be embedded in posts and pages by users with Contributor role and above, the attack surface exists wherever the plugin is active and contributor-level accounts are present. The plugin integrates with WooCommerce to display product badges, making it particularly common on ecommerce WordPress deployments.
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:L/UI:N/S:C/C:L/I:L/A:N
PR:L reflects required Contributor account; UI:N applied per stored XSS convention as payload fires on victim page load without further attacker action; S:C captures cross-browser scope.
Primary rating from Vendor (Wordfence).
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 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.
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 WPC Badge Management for WooCommerce plugin versions up to 3.1.6 allows authenticated att
EUVD-2026-50269
GHSA-33hx-w9g7-6rmq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB