{"summary":{"plugin_name":"custom-order-numbers-for-woocommerce","display_name":"Custom Order Numbers for WooCommerce","version":"2.2.0","risk_level":"low","risk_score":15.0,"risk_factors":{"owasp":5,"superglobal_density":5,"rest_routes":5},"last_analyzed":"2026-11-23T14:23:45.065976","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":84,"num_ratings":25,"tested":"7.1.2","requires":"4.4","requires_php":"7.4","author":"tychesoftwares","short_description":"Set Sequential order numbers in WooCommerce. Custom order number with prefixes can also be set for existing and new WooCommerce orders.","tags":["custom order numbers","sequential order numbers","woocommerce"],"added":"2017-01-02","last_updated":"2026-09-28 9:14am GMT","metadata_fetched_at":"2026-10-04T05:39:35.702391+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.2.0"},"security_metrics":{"total_issues":0,"parameters_found":5,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":4,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":1,"A10":1},"attack_surface_level":"medium","attack_surface_score":15,"tainted_sinks":3,"tainted_sql":0,"tainted_ssrf":1,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":82.3,"rank":84665,"peer_count":477722,"better_than":82.3,"risk_distribution":{"medium":116710,"high":176378,"low":90744,"minimal":55733,"critical":38157}},"executive_summary":null,"vulnerabilities":[{"id":"675b62eb-78b2-4d05-98e3-c3bac796d55c","title":"Custom Order Numbers for WooCommerce < 1.4.1 - CSRF","created_at":"2023-05-25T18:20:59.000Z","updated_at":"2023-05-25T18:20:59.000Z","published_date":"2023-04-14T00:00:00.000Z","vuln_type":"CSRF","references":{"cve":["2022-45367"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.4.1","introduced_in":null},{"id":"47d21cd1-2147-4efb-89e5-afa716c22d9e","title":"Custom Order Numbers for WooCommerce < 1.11.1 - Missing Authorization","created_at":"2025-11-25T16:32:02.000Z","updated_at":"2025-11-25T16:32:02.000Z","published_date":"2025-11-22T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/319ff434-aef3-4791-969f-c5de02ba6ad9"],"cve":["2025-66071"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.11.1","introduced_in":null}],"recommendations":[{"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":["Reachable 'option_update' sink x1 - 1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"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":["Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x1 - 1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":1,"risk":"1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}