CVE-2026-15648

Brands for WooCommerce <= 3.8.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'width' Shortcode Attribute

Published Jul 24, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Brands for WooCommerce WordPress plugin and enables stored cross‑site scripting via the 'width' attribute of a shortcode. Insufficient sanitization and escaping of this attribute means that an attacker can embed malicious scripts that will run whenever a page containing the shortcode is viewed. Such scripts can steal user cookies, deface content, or propagate further attacks. The weakness is identified as CWE‑79, and the impact is limited to accounts with contributor‑level access or higher, which can place arbitrary content into the site and expose other visitors to execution of the injected code.

Affected Systems

Any installation of the Brands for WooCommerce plugin for WordPress where the version is 3.8.8 or earlier. The CNA vendor is berocket and the exposed product is the Brands for WooCommerce plugin. Users facing these versions must verify their plugin installation and plan remediation.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score is listed as <1%, which shows a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed exploitation in the wild. The attack requires authentication with contributor or higher privileges, so an attacker must compromise a user account with sufficient role. Once authenticated, they can inject the payload, store it, and affect any user who views the affected page. The combination of authentication requirement, moderate CVSS, and low EPSS points to moderate overall risk, though the potential for damage from the injected scripts remains high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Brands for WooCommerce plugin to the latest available version, which removes the vulnerable shortcode handling
  • If an upgrade is not immediately possible, disable the vulnerable shortcode in the plugin’s settings or remove the plugin entirely from the site
  • Restrict contributor‑level access to trusted users or temporarily downgrade the role of users who do not need to edit or add brand shortcodes
  • As a last resort, sanitize the 'width' attribute by only allowing numeric values and stripping any HTML or script tags before storing

Generated by OpenCVE AI on August 3, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Berocket
Berocket brands For Woocommerce
Wordpress
Wordpress wordpress
Vendors & Products Berocket
Berocket brands For Woocommerce
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description 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.
Title Brands for WooCommerce <= 3.8.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'width' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 24, 2026, 10:10 PM
Reserved
Jul 13, 2026, 7:11 PM
Status
Deferred
Published
Jul 24, 2026, 8:16 AM
Modified
Jul 24, 2026, 11:16 PM