CVE-2025-10167
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-11

Last updated on: 2026-04-08

Assigner: Wordfence

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-11
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2025-10-11
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
woocommerce stock_history_reports_manager *
woocommerce woocommerce *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the Stock History & Reports Manager for WooCommerce plugin for WordPress. It occurs in the plugin's 'alg_wc_stock_snapshot_restocked' shortcode in all versions up to and including 2.2.1. The problem arises because the plugin does not properly sanitize or escape user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts are stored and executed whenever any user accesses the affected page, potentially compromising user security.


How can this vulnerability impact me? :

This vulnerability can allow an authenticated attacker with contributor-level access or higher to inject arbitrary malicious scripts into pages using the vulnerable shortcode. When other users visit these pages, the injected scripts execute in their browsers, which can lead to theft of sensitive information, session hijacking, defacement, or other malicious actions. This compromises the security and integrity of the affected WordPress site and its users.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, immediately update the Stock History & Reports Manager for WooCommerce plugin to a version later than 2.2.1 where the input sanitization and output escaping issues are fixed. Additionally, restrict contributor-level access and above to trusted users only, as the vulnerability requires authenticated access. Monitor and review any pages using the 'alg_wc_stock_snapshot_restocked' shortcode for suspicious injected scripts and remove them. Consider disabling or removing the shortcode usage until the plugin is updated.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart