CVE-2025-10167: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpcodefactory Stock History & Reports Manager for WooCommerce
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.
AI Analysis
Technical Summary
CVE-2025-10167 is a stored cross-site scripting vulnerability in the Stock History & Reports Manager for WooCommerce plugin for WordPress. The issue exists due to improper neutralization of input during web page generation, specifically in the handling of the 'alg_wc_stock_snapshot_restocked' shortcode. Authenticated attackers with contributor or higher privileges can inject arbitrary web scripts via insufficiently sanitized shortcode attributes. These scripts execute in the context of users viewing the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability affects all plugin versions up to and including 2.2.2. There is no vendor advisory or patch information available to confirm remediation status.
Potential Impact
Successful exploitation allows authenticated users with contributor-level access or above to inject persistent malicious scripts into pages via shortcode attributes. These scripts execute in the browsers of users who view the affected pages, potentially compromising user sessions or performing unauthorized actions within the context of the victim's browser. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges (low), no user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the vulnerable plugin if possible. Monitor for plugin updates from wpcodefactory addressing this vulnerability and apply them promptly once available.
CVE-2025-10167: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpcodefactory Stock History & Reports Manager for WooCommerce
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-10167 is a stored cross-site scripting vulnerability in the Stock History & Reports Manager for WooCommerce plugin for WordPress. The issue exists due to improper neutralization of input during web page generation, specifically in the handling of the 'alg_wc_stock_snapshot_restocked' shortcode. Authenticated attackers with contributor or higher privileges can inject arbitrary web scripts via insufficiently sanitized shortcode attributes. These scripts execute in the context of users viewing the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability affects all plugin versions up to and including 2.2.2. There is no vendor advisory or patch information available to confirm remediation status.
Potential Impact
Successful exploitation allows authenticated users with contributor-level access or above to inject persistent malicious scripts into pages via shortcode attributes. These scripts execute in the browsers of users who view the affected pages, potentially compromising user sessions or performing unauthorized actions within the context of the victim's browser. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges (low), no user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the vulnerable plugin if possible. Monitor for plugin updates from wpcodefactory addressing this vulnerability and apply them promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-09-09T13:32:04.685Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68ea263d5baaa01f1ca0ff82
Added to database: 10/11/2025, 9:41:17 AM
Last enriched: 4/9/2026, 8:45:17 PM
Last updated: 5/10/2026, 3:30:30 AM
Views: 120
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.