What the vulnerability does
01Description
The Compare Products for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘s_feature’ parameter in all versions up to, and including, 3.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Explanation of Vulnerability in Simple Terms
02Summary
The Compare Products for WooCommerce plugin through version 3.2.1 contains a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in a visitor's browser when they view an affected page. The vulnerability requires user interaction—the victim must visit a crafted link. The attack can affect other users and potentially steal session data or perform actions on their behalf.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers and steals session cookies or performs actions as those users.
Potential impact on your site
04Site Impact
Visitors to your site can have their sessions hijacked or be redirected to malicious sites without your knowledge.
Conditions required to exploit
05Prerequisites
No authentication required. Victim must visit a link containing the malicious payload.
Key dates
06Disclosure timeline
January 7, 2025
CVE published
April 8, 2026
Record updated