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.
Published: 2026-07-29
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Untrusted input supplied in the ‘text’ attribute of the wpcbm_best_seller shortcode is stored by the plugin without proper sanitization or escaping. When the badge page is rendered, the injected JavaScript is included in the output and executed in any visitor’s browser. Because the payload runs in the context of the site, an attacker can steal session cookies, deface content, or perform phishing attacks against users who view the page. This flaw does not compromise the server itself but enables client‑side code execution that could undermine user confidentiality and trust.

Affected Systems

The Vulnerable Product is the WPC Badge Management for WooCommerce plugin developed by wpclever. All plugin releases up to and including version 3.1.6 are affected. No specific revision numbers are listed beyond the fact that any release with a version number <= 3.1.6 contains the flaw.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity vulnerability. The EPSS score is reported as < 1 %, indicating a very low probability of exploitation given the current threat landscape. The flaw is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with Contributor level access or higher, who can inject the malicious payload into the text field. Once injected, the script is served to any user who loads the badge page, making this a stored XSS that can be abused client‑side by unauthenticated visitors. Because exploitation is limited to users with sufficient write privileges, the overall attack surface is relatively narrow, but the potential for widespread user exposure remains significant once a badge is published.

Generated by OpenCVE AI on August 3, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WPC Badge Management for WooCommerce plugin to the latest available version, which addresses the vulnerable shortcode handling.
  • If the upgrade cannot be performed immediately, restrict the role permissions so that only Administrators can edit or publish badges, thereby preventing Contributors from injecting malicious text.
  • Implement site‑wide Content Security Policy headers or use a security plugin to strip or escape JavaScript in the ‘text’ attribute, mitigating the impact of any stored scripts that may remain in the database.

Generated by OpenCVE AI on August 3, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpclever
Wpclever wpc Badge Management For Woocommerce
Vendors & Products Wordpress
Wordpress wordpress
Wpclever
Wpclever wpc Badge Management For Woocommerce

Wed, 29 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title WPC Badge Management for WooCommerce <= 3.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'text' Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
Wpclever Wpc Badge Management For Woocommerce
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-29T13:41:52.099Z

Reserved: 2026-04-29T15:33:18.182Z

Link: CVE-2026-7436

cve-icon Vulnrichment

Updated: 2026-07-29T13:41:45.490Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T11:16:50.553

Modified: 2026-07-30T14:01:30.413

Link: CVE-2026-7436

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')