{"summary":{"plugin_name":"persian-woocommerce","display_name":"ووکامرس فارسی | فارسی و شمسی ساز وردپرس و ووکامرس","version":"10.0.7","risk_level":"low","risk_score":22.0,"risk_factors":{"static_analysis":5,"owasp":5,"unauth_ratio":5,"rest_routes":7,"raw_input":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T13:43:51.477483","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":88,"num_ratings":73,"tested":"7.1.3","requires":"6.8","requires_php":"7.4","author":"PersianScript","short_description":"افزونه ووکامرس فارسی، ووکامرس و وردپرس تان را فارسی و شمسی می‌کند و امکانات پرکاربردی جهت مدیریت ووکامرس در اختیارتان قرار می دهد.","tags":["persian woocommerce","shamsi","ووکامرس","ووکامرس فارسی","woocommerce"],"added":"2014-02-04","last_updated":"2026-10-21 8:02pm GMT","metadata_fetched_at":"2026-10-25T17:17:57.308074+00:00","modules_missing":[],"modules_failed":[],"latest_release":"10.0.7"},"security_metrics":{"total_issues":43,"parameters_found":36,"unknown_parameters":2,"headers_accessed":7,"cookies_accessed":0,"wp_hooks":2,"rest_routes":15,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":4},"attack_surface_level":"large","attack_surface_score":68,"tainted_sinks":5,"tainted_sql":2,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":7},"comparison":{"percentile":71.8,"rank":141335,"peer_count":501497,"better_than":71.8,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[{"id":"1980c5ca-447d-4875-b542-9212cc7ff77f","title":"Persian Woocommerce < 5.9.8 - Reflected Cross-Site Scripting","created_at":"2022-02-15T13:29:22.000Z","updated_at":"2022-09-26T10:03:53.000Z","published_date":"2022-02-15T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2021-24940"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"5.9.8","introduced_in":null},{"id":"dd1f88f6-ce7a-4e72-81da-07a4b19ddf89","title":"Persian WooCommerce < 9.0.0 - Missing Authorization","created_at":"2024-08-13T20:32:35.000Z","updated_at":"2024-08-16T09:45:56.000Z","published_date":"2024-08-09T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://patchstack.com/database/vulnerability/persian-woocommerce/wordpress-persian-woocommerce-plugin-7-1-6-broken-access-control-vulnerability"],"cve":["2024-43219"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"9.0.0","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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":["REST route '/init' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'option_update' sink x1 - 1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Reachable 'redirect' sink x1 - 1 attacker-reachable 'redirect' sink(s) found by the reachability analyzer","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"high","findings_count":4,"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":["phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","Reachable 'sql' sink x2 - 2 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x6 - Interpolated variable in SQL query string (6 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/init","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"option_update","count":1,"risk":"1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"redirect","count":1,"risk":"1 attacker-reachable 'redirect' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["include/class-translate.php:20"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/persian-woocommerce/tags/10.0.7/include/class-translate.php","line":139},{"type":"reachability_sink","sink":"sql","count":2,"risk":"2 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":6,"severity":"critical","examples":["include/class-core.php:133","include/class-translate.php:42","include/class-translate.php:202"],"risk":"Interpolated variable in SQL query string (6 occurrence(s))"}]}}