What the vulnerability does
01Description
The YITH WooCommerce Ajax Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘item’ parameter in versions up to, and including, 2.4.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
YITH WooCommerce Ajax Search versions 2.4.0 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in users' browsers when they interact with search functionality. The vulnerability affects all visitors without requiring authentication or user interaction beyond normal site use. This can lead to session hijacking, credential theft, or malware distribution.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers and steals session cookies or credentials.
Potential impact on your site
04Site Impact
Visitors' browsers can be compromised when using the search feature, risking account takeover and data theft.
Conditions required to exploit
05Prerequisites
No authentication required. Attacker can exploit this remotely via network access to the site.
Key dates
06Disclosure timeline
May 24, 2024
CVE published
April 8, 2026
Record updated