Stock Control Security & Risk Analysis

wordpress.org/plugins/stock-control

Bulk edit and logging for stock related data of WooCommerce.

0 active installs v1.0.0 PHP + WP 4.0+ Updated Jul 24, 2024
logloggingstock-log
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Stock Control Safe to Use in 2026?

Generally Safe

Score 92/100

Stock Control has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The stock-control plugin v1.0.0 demonstrates a mixed security posture. On the positive side, the plugin exhibits excellent practices in output escaping, ensuring all 42 identified outputs are properly escaped. It also shows a strong adherence to using prepared statements for SQL queries, with 89% of the 19 total queries utilizing this crucial security measure. The absence of file operations, external HTTP requests, and bundled libraries further reduces potential attack vectors. Taint analysis also revealed no high or critical severity unsanitized flows, which is a significant positive indicator.

However, a major concern arises from the presence of one AJAX handler that lacks any authentication checks. This represents a direct and significant vulnerability, as any unauthenticated user could potentially trigger this AJAX action. The absence of capability checks in general, coupled with the unprotected AJAX endpoint, significantly elevates the risk. While the plugin has no known vulnerability history, this lack of historical issues does not negate the critical risk posed by the unprotected AJAX entry point. A balanced conclusion suggests that while the plugin follows good practices in several key areas like output escaping and SQL query preparation, the unprotected AJAX handler is a critical flaw that requires immediate attention to improve its overall security.

Key Concerns

  • Unprotected AJAX handler found
  • Missing capability checks on AJAX
Vulnerabilities
None known

Stock Control Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Stock Control Release Timeline

v1.0.0Current
Code Analysis
Analyzed Mar 17, 2026

Stock Control Code Analysis

Dangerous Functions
0
Raw SQL Queries
2
17 prepared
Unescaped Output
0
42 escaped
Nonce Checks
9
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

89% prepared19 total queries

Output Escaping

100% escaped42 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

7 flows
get_stock_overview_data (views\StockControlOverviewTable.php:150)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Stock Control Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_save_stock_controlcontrollers\app\StockControlPlugin.php:157
WordPress Hooks 19
actionplugins_loadedcontrollers\app\StockControlPlugin.php:116
actionadmin_enqueue_scriptscontrollers\app\StockControlPlugin.php:138
actionadmin_enqueue_scriptscontrollers\app\StockControlPlugin.php:139
actionwoocommerce_product_set_stockcontrollers\app\StockControlPlugin.php:141
actionadmin_menucontrollers\app\StockControlPlugin.php:143
actionadmin_menucontrollers\app\StockControlPlugin.php:144
filterwoocommerce_settings_tabs_arraycontrollers\app\StockControlPlugin.php:147
actionwoocommerce_settings_tabs_stock_controlcontrollers\app\StockControlPlugin.php:148
actionwoocommerce_update_options_stock_controlcontrollers\app\StockControlPlugin.php:149
actionwoocommerce_update_options_stock_controlcontrollers\app\StockControlPlugin.php:150
actionwoocommerce_update_options_stock_controlcontrollers\app\StockControlPlugin.php:152
actionwpcontrollers\app\StockControlPlugin.php:154
actionpurge_stock_datacontrollers\app\StockControlPlugin.php:155
actionwp_enqueue_scriptscontrollers\app\StockControlPlugin.php:171
actionwp_enqueue_scriptscontrollers\app\StockControlPlugin.php:172
filterset-screen-optionviews\StockControlShowLogProduct.php:22
actionadmin_initviews\StockControlShowLogProduct.php:25
filterset-screen-optionviews\StockControlStockOverview.php:24
actionadmin_initviews\StockControlStockOverview.php:27

Scheduled Events 1

purge_stock_data
Maintenance & Trust

Stock Control Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedJul 24, 2024
PHP min version
Downloads915

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Stock Control Developer Profile

oacstudio

3 plugins · 510 total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
217 days
View full developer profile
Detection Fingerprints

How We Detect Stock Control

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/stock-control/admin/css/stock-control-admin.css/wp-content/plugins/stock-control/public/css/stock-control-public.css/wp-content/plugins/stock-control/admin/js/stock-control-admin.js/wp-content/plugins/stock-control/public/js/stock-control-public.js
Script Paths
/wp-content/plugins/stock-control/admin/js/stock-control-admin.js/wp-content/plugins/stock-control/public/js/stock-control-public.js
Version Parameters
stock-control/admin/css/stock-control-admin.css?ver=stock-control/public/css/stock-control-public.css?ver=stock-control/admin/js/stock-control-admin.js?ver=stock-control/public/js/stock-control-public.js?ver=

HTML / DOM Fingerprints

CSS Classes
oacs-sc-stock-control-wrap
HTML Comments
<!-- The main plugin class. --><!-- Include the Composer autoload file --><!-- Friendly advice: namespace declarations in root plugin file will eat plugin settings links functions that don't use namespaces ;). Avoid Namespaces in the plugin root file alltogether. The plugin root file = procedual code for the win. --><!-- If this file is called directly, abort. -->+23 more
Data Attributes
data-page-title="Stock Control"data-plugin-slug="stock-control"
JS Globals
window.oacs_sc_stock_control_vars
REST Endpoints
/wp-json/oacs-sc-stock-control/v1/save-stock-control
FAQ

Frequently Asked Questions about Stock Control