YITH WooCommerce Ajax Product Filter <= 5.25.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'selector' Shortcode Attribute
- ID
- WPSEC-2026-3272
- Plugin
- YITH WooCommerce Ajax Product Filter (yith-woocommerce-ajax-navigation)
- Affected
- from 4.0.2 before 5.25.1
- Remediation
- Update to 5.25.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-17
- Attack surface
- YITH WooCommerce Ajax Product Filter on WPSec AttackSurface
- Fix released
- Published
Description
The YITH WooCommerce Ajax Product Filter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'selector' attribute of the yith_wcan_filters shortcode in all versions up to, and including, 5.25.0 due to insufficient input sanitization of the user-supplied selector. The plugin prints the selector into the preset's data-target attribute, and the front-end script passes it to jQuery as a selector, which builds HTML from it. 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.
References
- https://wpsec.com/vuln/WPSEC-2026-3272/
- https://plugins.svn.wordpress.org/yith-woocommerce-ajax-navigation/tags/5.25.1/
- https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS