# Product Filter for WooCommerce by WBW <= 4.0.0 - Unauthenticated Arbitrary Shortcode Execution via Filter Parameters

- **ID:** WPSEC-2026-4335
- **Plugin:** Product Filter for WooCommerce by WBW (`woo-product-filter`), https://wordpress.org/plugins/woo-product-filter/
- **Affected versions:** from 4.0.0 before 4.0.1
- **Fixed in:** 4.0.1 (Update to 4.0.1 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woo-product-filter
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4335/

## Description

The Product Filter for WooCommerce by WBW plugin for WordPress is vulnerable to arbitrary shortcode execution via filter parameters in all versions up to, and including, 4.0.0, due to the search text, filter values and page address taken from the request being printed into the 4.0 engine's filter markup (chips, search box, links) without removing shortcode brackets, while the output of the plugin's Product Filter block passes through WordPress's shortcode processing of post content. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on pages that show a filter through the block.

## References

- https://wpsec.com/vuln/WPSEC-2026-4335/
- https://plugins.svn.wordpress.org/woo-product-filter/tags/4.0.1/
- https://wordpress.org/plugins/woo-product-filter/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4335/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
