What the vulnerability does
01Description
The WPC Smart Compare for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shortcode_btn' shortcode in all versions up to, and including, 6.4.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Explanation of Vulnerability in Simple Terms
02Summary
WPC Smart Compare for WooCommerce versions up to 6.4.6 contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing data. The vulnerability affects the plugin's core comparison functionality.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view comparison pages.
Potential impact on your site
04Site Impact
Visitors' sessions and data can be compromised; site reputation and customer trust may be damaged.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account (e.g., subscriber or customer) on the WooCommerce site.
Key dates
06Disclosure timeline
July 11, 2025
CVE published
April 8, 2026
Record updated