Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor authentication required (PR:L); stored payload auto-executes for all visitors (UI:N); cross-boundary browser impact justifies S:C with limited C/I and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Brands for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'style' Shortcode Attribute in all versions up to, and including, 3.8.8 due to insufficient input sanitization and output escaping. 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.
AnalysisAI
Stored Cross-Site Scripting in the Brands for WooCommerce WordPress plugin (versions through 3.8.8) allows authenticated contributors to permanently embed arbitrary JavaScript into pages via the unsanitized 'style' shortcode attribute, executing in any visitor's browser upon page load. The scope change (S:C) in the CVSS vector confirms cross-boundary impact: the attacker operates at contributor privilege level but the payload compromises site visitors' browser sessions. A plugin trac changeset (revision 3608899) indicates an upstream fix has been committed. No public exploit or CISA KEV listing identified at time of analysis.
Technical ContextAI
CWE-79 (Improper Neutralization of Input During Web Page Generation) manifests here through the plugin's shortcode processing pipeline. The WordPress shortcode API passes user-supplied attribute values - specifically the 'style' attribute - through BeRocket's Brands for WooCommerce shortcode handler (includes/shortcodes.php, line 11) and rendering logic (templates/catalog.php, line 34), with a helper function implicated at berocket/includes/functions.php, line 516. The root cause is that the 'style' attribute value is interpolated into rendered HTML without wp_kses(), esc_attr(), or equivalent WordPress sanitization/escaping functions. Because WordPress contributors are permitted to use shortcodes in post content, this allows persistent payload injection. The CPE cpe:2.3:a:berocket:brands_for_woocommerce:*:*:*:*:*:*:*:* confirms the vendor as BeRocket and the affected software component as the brands_for_woocommerce plugin.
RemediationAI
Update the Brands for WooCommerce plugin immediately via the WordPress admin dashboard or WordPress CLI (wp plugin update brands-for-woocommerce). An upstream fix has been committed to the plugin's WordPress.org repository at changeset 3608899 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3608899%40brands-for-woocommerce&new=3608899%40brands-for-woocommerce); however, the specific patched release version has not been independently confirmed from the available data - verify the installed version post-update against the plugin changelog. As an interim compensating control, restrict contributor-level access to the minimum necessary set of trusted users, since exploitation requires that privilege tier. WordPress site administrators can also deploy a WAF rule targeting the 'style' shortcode attribute in post content (available via Wordfence or similar WordPress security plugins) to block injection attempts without disabling the plugin - note that aggressive WAF rules may interfere with legitimate style attribute usage. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/8fa3bcb9-df3e-4042-a28b-3d09bfebeebc should be monitored for confirmed patch version details.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47923
GHSA-v4j6-p77v-7vw8