CVE-2026-7436

WPC Badge Management for WooCommerce <= 3.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'text' Attribute

Published Jul 29, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 29, 2026, 1:41 PM
Reserved
Apr 29, 2026, 3:33 PM
Status
Deferred
Published
Jul 29, 2026, 11:16 AM
Modified
Jul 30, 2026, 2:01 PM