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.1 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 (XSS) vulnerability identified in the Stock History & Reports Manager for WooCommerce plugin for WordPress, affecting all versions up to and including 2.2.1. The vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically within the 'alg_wc_stock_snapshot_restocked' shortcode. This shortcode fails to adequately sanitize and escape user-supplied attributes, allowing authenticated attackers with contributor-level privileges or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress environment. The vulnerability does not require user interaction beyond viewing the injected page and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based with low attack complexity, requiring privileges but no user interaction. No public exploits have been reported yet. This vulnerability is particularly concerning for e-commerce websites using WooCommerce and this plugin, as it could be leveraged to compromise administrative accounts or customer data. The scope is limited to installations where the vulnerable plugin is active and accessible to authenticated users with contributor or higher roles.
Potential Impact
For European organizations, especially those operating e-commerce platforms on WordPress with WooCommerce and the vulnerable plugin, this vulnerability poses a significant risk. Successful exploitation can lead to unauthorized script execution in the context of the affected website, enabling attackers to hijack user sessions, steal sensitive data, or perform actions on behalf of legitimate users. This can result in data breaches, loss of customer trust, financial fraud, and reputational damage. Given the medium severity and requirement for contributor-level access, insider threats or compromised accounts pose a particular risk. The impact on confidentiality and integrity is notable, while availability is less affected. Organizations with large user bases or handling sensitive customer information are at higher risk. The vulnerability could also be leveraged as a foothold for further attacks within the network. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits post-disclosure.
Mitigation Recommendations
1. Monitor for and apply official patches or updates from wpcodefactory as soon as they are released to address CVE-2025-10167. 2. Until patches are available, restrict contributor-level and higher access to trusted users only, minimizing the risk of malicious shortcode injection. 3. Implement additional input validation and output encoding at the application or web server level to mitigate XSS risks, such as using Content Security Policy (CSP) headers to restrict script execution. 4. Regularly audit user roles and permissions to ensure least privilege principles are enforced. 5. Employ Web Application Firewalls (WAFs) configured to detect and block XSS payloads targeting the vulnerable shortcode. 6. Educate administrators and content contributors about the risks of injecting untrusted content and encourage safe content management practices. 7. Monitor logs and website behavior for unusual activity indicative of exploitation attempts. 8. Consider isolating or disabling the vulnerable plugin if it is not essential to reduce attack surface.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
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.1 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
Technical Analysis
CVE-2025-10167 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Stock History & Reports Manager for WooCommerce plugin for WordPress, affecting all versions up to and including 2.2.1. The vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically within the 'alg_wc_stock_snapshot_restocked' shortcode. This shortcode fails to adequately sanitize and escape user-supplied attributes, allowing authenticated attackers with contributor-level privileges or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress environment. The vulnerability does not require user interaction beyond viewing the injected page and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based with low attack complexity, requiring privileges but no user interaction. No public exploits have been reported yet. This vulnerability is particularly concerning for e-commerce websites using WooCommerce and this plugin, as it could be leveraged to compromise administrative accounts or customer data. The scope is limited to installations where the vulnerable plugin is active and accessible to authenticated users with contributor or higher roles.
Potential Impact
For European organizations, especially those operating e-commerce platforms on WordPress with WooCommerce and the vulnerable plugin, this vulnerability poses a significant risk. Successful exploitation can lead to unauthorized script execution in the context of the affected website, enabling attackers to hijack user sessions, steal sensitive data, or perform actions on behalf of legitimate users. This can result in data breaches, loss of customer trust, financial fraud, and reputational damage. Given the medium severity and requirement for contributor-level access, insider threats or compromised accounts pose a particular risk. The impact on confidentiality and integrity is notable, while availability is less affected. Organizations with large user bases or handling sensitive customer information are at higher risk. The vulnerability could also be leveraged as a foothold for further attacks within the network. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits post-disclosure.
Mitigation Recommendations
1. Monitor for and apply official patches or updates from wpcodefactory as soon as they are released to address CVE-2025-10167. 2. Until patches are available, restrict contributor-level and higher access to trusted users only, minimizing the risk of malicious shortcode injection. 3. Implement additional input validation and output encoding at the application or web server level to mitigate XSS risks, such as using Content Security Policy (CSP) headers to restrict script execution. 4. Regularly audit user roles and permissions to ensure least privilege principles are enforced. 5. Employ Web Application Firewalls (WAFs) configured to detect and block XSS payloads targeting the vulnerable shortcode. 6. Educate administrators and content contributors about the risks of injecting untrusted content and encourage safe content management practices. 7. Monitor logs and website behavior for unusual activity indicative of exploitation attempts. 8. Consider isolating or disabling the vulnerable plugin if it is not essential to reduce attack surface.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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: 10/19/2025, 12:47:35 AM
Last updated: 11/29/2025, 7:27:50 PM
Views: 60
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.
Related Threats
Analysis of 8 Foundational Cache Poisoning Attacks (HackerOne, GitHub, Shopify) - Part 1
MediumCVE-2024-39936: n/a
HighCVE-2025-6666: Use of Hard-coded Cryptographic Key in motogadget mo.lock Ignition Lock
LowCVE-2025-65892: n/a
UnknownCVE-2025-65540: n/a
UnknownActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.