Product Filter for WooCommerce by WBW <= 4.0.1 - Unauthenticated Arbitrary Shortcode Execution via Filter Block

High 7.3 CWE-94Fixed in 4.0.2
ID
WPSEC-2026-4471
Plugin
Product Filter for WooCommerce by WBW (woo-product-filter)
Affected
from 3.1.7 before 4.0.2
Remediation
Update to 4.0.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-03
Attack surface
Product Filter for WooCommerce by WBW on WPSec AttackSurface
Fix released
Published

Description

The Product Filter for WooCommerce by WBW plugin for WordPress is vulnerable to arbitrary shortcode execution via the Filter block in all versions up to, and including, 4.0.1, due to request values, such as the search term carried in the classic filter's prefilter and settings data attributes, being placed into the block's markup with square brackets left intact, and that block output then being passed through do_shortcode() again by WordPress (the_content and widget_block_content). This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on pages that contain the filter block.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0