What the vulnerability does
01Description
The Stock History & Reports Manager for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'alg_wc_stock_snapshot_restocked shortcode in all versions up to, and including, 2.2.2 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
The Stock History & Reports Manager for WooCommerce plugin contains a cross-site scripting (XSS) vulnerability in versions up to 2.2.2. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, potentially affecting site administrators and customers. The vulnerability has scope change, meaning the impact extends beyond the vulnerable component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers, potentially stealing session tokens or performing actions on their behalf.
Potential impact on your site
04Site Impact
Authenticated attackers can compromise admin accounts or customer data through script injection; site administrators should update immediately.
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
October 11, 2025
CVE published
April 8, 2026
Record updated