YITH WooCommerce Ajax Search <= 2.30.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Search Block Content
- ID
- WPSEC-2026-2905
- Plugin
- YITH WooCommerce Ajax Search (yith-woocommerce-ajax-search)
- Affected
- from 2.0.0 before 2.30.1
- Remediation
- Update to 2.30.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 Low · Affected versions Low among sites WPSec scans, 2026-11-12
- Attack surface
- YITH WooCommerce Ajax Search on WPSec AttackSurface
- Fix released
- Published
Description
The YITH WooCommerce Ajax Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the YITH Search block in all versions up to, and including, 2.30.0. This is due to the front-end block renderer re-parsing the text content of child nodes inside the block's saved markup as HTML with no filtering. Entity-escaped text such as an encoded iframe tag with a srcdoc attribute gets through WordPress content sanitization as plain text and becomes live markup when it is re-parsed. 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-2905/
- https://plugins.svn.wordpress.org/yith-woocommerce-ajax-search/tags/2.30.1/
- https://wordpress.org/plugins/yith-woocommerce-ajax-search/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS