Stock History & Reports Manager for WooCommerce Security & Risk Analysis

wordpress.org/plugins/stock-snapshot-for-woocommerce

Keep track of your products stock in WooCommerce.

100 active installs v2.2.3 PHP + WP 5.0+ Updated Oct 10, 2025
product-stockstockstock-historystock-snapshotwoocommerce
99
A · Safe
CVEs total1
Unpatched0
Last CVEOct 10, 2025
Safety Verdict

Is Stock History & Reports Manager for WooCommerce Safe to Use in 2026?

Generally Safe

Score 99/100

Stock History & Reports Manager for WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Oct 10, 2025Updated 5mo ago
Risk Assessment

The stock-snapshot-for-woocommerce plugin, version 2.2.3, exhibits a mixed security posture. While it demonstrates good practices in output escaping and a lack of dangerous functions or file operations, significant concerns arise from its entry points and database interactions. The presence of an unprotected AJAX handler represents a clear and immediate attack vector that could be exploited by unauthenticated users, potentially leading to unauthorized actions or data manipulation. Furthermore, the fact that all SQL queries are not prepared statements is a critical weakness, exposing the plugin to SQL injection vulnerabilities, especially when combined with the unprotected entry point. The vulnerability history, showing one past medium-severity Cross-Site Scripting (XSS) vulnerability, indicates a tendency towards input sanitization issues. Although no currently unpatched CVEs are noted and the last vulnerability was in the past, this historical pattern, coupled with the static analysis findings, suggests a need for more robust input validation and secure coding practices. Overall, the plugin has some strengths, particularly in output handling, but the identified weaknesses in authentication for entry points and SQL query security create substantial risks.

Key Concerns

  • Unprotected AJAX handler
  • SQL queries without prepared statements
  • Historical medium severity XSS vulnerability
Vulnerabilities
1

Stock History & Reports Manager for WooCommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-10167medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Stock History & Reports Manager for WooCommerce <= 2.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

Oct 10, 2025 Patched in 2.2.3 (4d)
Code Analysis
Analyzed Mar 16, 2026

Stock History & Reports Manager for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
1
0 prepared
Unescaped Output
8
72 escaped
Nonce Checks
2
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared1 total queries

Output Escaping

90% escaped80 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<class-alg-wc-stock-snapshot-admin> (includes\class-alg-wc-stock-snapshot-admin.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Stock History & Reports Manager for WooCommerce Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 1

authwp_ajax_alg_wc_stock_snapshot_reportincludes\class-alg-wc-stock-snapshot-admin.php:44

Shortcodes 1

[alg_wc_stock_snapshot_restocked] includes\class-alg-wc-stock-snapshot-shortcodes.php:24
WordPress Hooks 23
actioninitincludes\class-alg-wc-stock-snapshot-action-scheduler.php:43
actioninitincludes\class-alg-wc-stock-snapshot-action-scheduler.php:49
actionadd_meta_boxesincludes\class-alg-wc-stock-snapshot-admin.php:34
actionadmin_initincludes\class-alg-wc-stock-snapshot-admin.php:37
actionalg_wc_stock_snapshot_settings_savedincludes\class-alg-wc-stock-snapshot-admin.php:40
actionalg_wc_stock_snapshot_report_actionincludes\class-alg-wc-stock-snapshot-admin.php:43
actioninitincludes\class-alg-wc-stock-snapshot-core.php:51
actionwoocommerce_update_productincludes\class-alg-wc-stock-snapshot-core.php:58
actionwoocommerce_update_product_variationincludes\class-alg-wc-stock-snapshot-core.php:65
actioninitincludes\class-alg-wc-stock-snapshot.php:78
actionbefore_woocommerce_initincludes\class-alg-wc-stock-snapshot.php:81
actioninitincludes\class-alg-wc-stock-snapshot.php:163
actioninitincludes\class-alg-wc-stock-snapshot.php:166
filterwoocommerce_get_settings_pagesincludes\class-alg-wc-stock-snapshot.php:169
actionadmin_initincludes\class-alg-wc-stock-snapshot.php:173
actionwoocommerce_admin_field_alg_wc_stock_snapshotincludes\settings\class-alg-wc-stock-snapshot-settings-report-section.php:174
actionadmin_footerincludes\settings\class-alg-wc-stock-snapshot-settings-report-section.php:177
actionadmin_initincludes\settings\class-alg-wc-stock-snapshot-settings-report-section.php:180
actionadmin_noticesincludes\settings\class-alg-wc-stock-snapshot-settings-report.php:36
actionadmin_footerincludes\settings\class-alg-wc-stock-snapshot-settings-report.php:354
filterwoocommerce_get_sections_alg_wc_stock_snapshotincludes\settings\class-alg-wc-stock-snapshot-settings-section.php:40
actionadmin_noticesincludes\settings\class-alg-wc-stock-snapshot-settings.php:95
actionplugins_loadedstock-snapshot-for-woocommerce.php:57
Maintenance & Trust

Stock History & Reports Manager for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 10, 2025
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Developer Profile

Stock History & Reports Manager for WooCommerce Developer Profile

WPFactory

63 plugins · 136K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
98 days
View full developer profile
Detection Fingerprints

How We Detect Stock History & Reports Manager for WooCommerce

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Version Parameters
stock-snapshot-for-woocommerce/stock-snapshot-for-woocommerce.php?ver=2.2.3

HTML / DOM Fingerprints

Shortcode Output
[alg_wc_stock_snapshot_restocked][products ids=
FAQ

Frequently Asked Questions about Stock History & Reports Manager for WooCommerce