Security Alert Summary
The Product Filter for WooCommerce by WBW plugin contains a stored cross-site scripting (XSS) vulnerability in the handling of the display_name parameter. Authenticated users with subscriber-level access or higher can inject scripts into pages rendered by the classic/legacy frontend engine for Author filters. Injected scripts execute when a user visits an affected page. Filters rendered by the engine 4 renderer are reported as not affected.
CVE Details
- CVE ID:
CVE-2026-140030 - Affected component: Product Filter for WooCommerce by WBW (Author filters rendered by the classic/legacy frontend engine)
- Affected versions: All versions up to and including 4.0.1
- Published: December 3, 2026 at 7:17:24 AM UTC
- Last modified: December 3, 2026 at 7:17:24 AM UTC
- CVSS v3.1: Base Score 6.4 (MEDIUM); Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Authentication / privileges / user interaction: Attack requires authenticated user with low privileges (subscriber-level or higher). No user interaction is required for the injected payload to execute once stored.
- Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- CWE / weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation (Cross-site Scripting))
Technical Details
The vulnerability is a stored cross-site scripting issue that arises from insufficient input sanitization and output escaping of the display_name parameter in the plugin’s Author filter output when rendered by the classic/legacy frontend engine. An authenticated attacker with subscriber-level access or greater can insert HTML or script content into the stored display_name value. When another user loads a page that renders the affected Author filter via the legacy renderer, the injected content is output without proper escaping and the script runs in the context of the visiting user’s browser.
The report notes that filters using the engine 4 renderer correctly apply esc_attr() to the display_name output and are not affected. The issue is limited to the legacy/classic frontend engine rendering path for Author filters; no REST API endpoints or additional functions are named beyond the display_name parameter and the use or absence of esc_attr() in the output path.
Impact is limited to what can be achieved via a stored XSS in the affected output: execution of arbitrary JavaScript in the context of users who view the injected page. The vulnerability does not, by itself, indicate remote code execution on the server or complete site compromise.
How This Could Impact Your Website
Consider a multi-user WordPress site where the site owner manages plugins, internal staff maintain content, and an external contractor or contributor has a subscriber or contributor account. An attacker with a subscriber-level account could modify their display_name or another field used by the legacy Author filter to include a script. When internal staff or the site owner visits a page showing that Author filter rendered by the legacy engine, the injected script runs in their browser.
Practical consequences include limited exposure of data accessible in the browser (for example, profile details visible on the page) and an increased risk of targeted phishing or social engineering against staff who receive pages or emails referencing affected content. While confidentiality and integrity impacts are rated low, the presence of stored XSS can facilitate targeted actions like session token capture or UI-based manipulation of a logged-in user’s actions in certain scenarios.
If youre unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributor and subscriber roles that can be abused to store content.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins and themes from your site.
- Monitor site activity and logs for unusual behavior, including unexpected changes to profile fields or filter output.
If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://github.com/wpcodefactory/woo-product-filter
- https://plugins.trac.wordpress.org/browser/woo-product-filter/tags/4.0.0/classes/class-woobewoo-pf-html.php#L127
- https://plugins.trac.wordpress.org/browser/woo-product-filter/tags/4.0.0/modules/woofilters/js/frontend.woofilters.js#L1675
- https://plugins.trac.wordpress.org/browser/woo-product-filter/tags/4.0.0/modules/woofilters/views/class-woobewoo-pf-woofilters-view.php#L2415
- https://plugins.trac.wordpress.org/browser/woo-product-filter/tags/4.0.0/modules/woofilters/views/class-woobewoo-pf-woofilters-view.php#L3629
- https://plugins.trac.wordpress.org/changeset/3839328/woo-product-filter/trunk/modules/woofilters/views/class-woobewoo-pf-woofilters-view.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fd57c527-1755-4a86-945e-4986f5ffce04?source=cve