Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
UI:R corrects the official vector - stored XSS payload fires only when a victim visits the injected page, requiring user interaction.
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 'width' 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 up to and including 3.8.8) allows authenticated attackers holding contributor-level access or higher to inject persistent malicious scripts via an unsanitized 'width' shortcode attribute in the Divi Builder integration. The payload executes in the browser of any user who subsequently visits an injected page, with scope change confirmed by CVSS S:C. No public exploit code or CISA KEV listing was identified at time of analysis.
Technical ContextAI
The vulnerability resides in the plugin's Divi Builder shortcode integration (addons/divi_shortcode/divi-builder.php), specifically where the 'width' attribute of a WooCommerce brand-display shortcode is rendered without proper sanitization or output escaping, as confirmed by source references at lines 7, 16, and 127 of that file. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: attacker-controlled shortcode attribute data flows into rendered HTML without sanitize_text_field() or esc_attr() processing. The affected CPE is cpe:2.3:a:berocket:brands_for_woocommerce:*:*:*:*:*:*:*:*, covering all versions through 3.8.8. Because the script is stored server-side and served to all subsequent page visitors, the impact crosses the security boundary of the injecting user's own session into other users' browser contexts, driving the CVSS scope-change classification.
RemediationAI
A patch changeset has been committed to the WordPress plugin repository (https://plugins.trac.wordpress.org/changeset?reponame=&old=3608899%40brands-for-woocommerce&new=3608899%40brands-for-woocommerce), but no specific fixed release version number was identified in the available data - the patched version should be confirmed via the WordPress plugin directory before upgrading. Site administrators should update to the latest available version of Brands for WooCommerce from the WordPress.org plugin repository immediately. As a compensating control while the patch is validated, restrict contributor-level role assignments to fully trusted users only, since that is the minimum privilege required for exploitation. Alternatively, temporarily disabling the Divi Builder shortcode addon within the plugin eliminates the vulnerable code path with the trade-off of losing Divi-integrated brand display functionality.
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-48508
GHSA-36xv-3m2q-wwfm