{"summary":{"plugin_name":"atum-stock-manager-for-woocommerce","display_name":"ATUM WooCommerce Inventory Management and Stock Tracking","version":"2.0.7","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"filter_hooks":10},"last_analyzed":"2026-11-23T14:43:35.926315","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":94,"num_ratings":128,"tested":"7.1.3","requires":"6.8","requires_php":"7.4","author":"Stock Management Labs","short_description":"WooCommerce Full Inventory Management, Purchase Orders, Suppliers, Inbound Stock, Inventory Logs, WooCommerce Sales Statistics, and More.","tags":["inbound stock","inventory logs","purchase orders","suppliers","Woocommerce Stock Management"],"added":"2017-01-05","last_updated":"2026-10-19 10:31am GMT","metadata_fetched_at":"2026-10-26T10:24:08.814593+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.0.7"},"security_metrics":{"total_issues":130,"parameters_found":124,"unknown_parameters":2,"headers_accessed":10,"cookies_accessed":0,"wp_hooks":2,"rest_routes":15,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":10,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":10},"attack_surface_level":"large","attack_surface_score":156,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":19},"comparison":{"percentile":64.8,"rank":173408,"peer_count":492328,"better_than":64.8,"risk_distribution":{"high":177536,"critical":38605,"medium":119779,"low":97429,"minimal":58979}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":10,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Parameter 'query_string' - Parameter name suggests injection sink — verify sanitization","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo"]},{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["classes/Components/AtumQueues.php:76"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"parameter","name":"query_string","locations":{"POST":[{"file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Orders/CheckOrderPrices.php","line":161,"offset":4727,"snippet":"$_POST['query_string']"},{"file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Orders/CheckOrderPrices.php","line":181,"offset":6077,"snippet":"$_POST['query_string']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Components/AtumListTables/AtumListTable.php","line":547},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Components/AtumListTables/AtumListTable.php","line":547},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Components/AtumListTables/AtumListTable.php","line":578},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/classes/Components/AtumListTables/AtumListTable.php","line":578},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/views/list-tables/search-by-column-field.php","line":27},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/views/list-tables/search-by-column-field.php","line":46},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/views/list-tables/search-by-column-field.php","line":63},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/atum-stock-manager-for-woocommerce/tags/2.0.7/views/list-tables/search-by-column-field.php","line":63},{"type":"pattern_match","pattern":"sqli_interpolated","count":18,"severity":"critical","examples":["classes/Inc/Helpers.php:1393","classes/Inc/Upgrade.php:333","classes/Inc/Upgrade.php:337"],"risk":"Interpolated variable in SQL query string (18 occurrence(s))"}]}}