{"summary":{"plugin_name":"woocommerce-for-japan","display_name":"Japanized for WooCommerce","version":"3.1.1","risk_level":"high","risk_score":52.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":15,"rest_routes":2},"last_analyzed":"2026-11-23T14:14:24.575398","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":66,"num_ratings":21,"tested":"7.1.5","requires":"6.7","requires_php":"8.3","author":"shohei.tanaka","short_description":"Essential Japanese localization toolkit for WooCommerce - adds address formats, payment methods, delivery scheduling, and legal compliance.","tags":["e-commerce","ecommerce","Japanese","woocommerce"],"added":"2014-06-22","last_updated":"2026-11-17 10:48am GMT","metadata_fetched_at":"2026-11-22T20:47:16.017444+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.1.1"},"security_metrics":{"total_issues":20,"parameters_found":52,"unknown_parameters":1,"headers_accessed":5,"cookies_accessed":0,"wp_hooks":2,"rest_routes":8,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":4,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":1,"A07":5},"attack_surface_level":"large","attack_surface_score":70,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":16},"comparison":{"percentile":23.8,"rank":382202,"peer_count":501562,"better_than":23.8,"risk_distribution":{"low":101712,"high":178141,"medium":121489,"critical":38894,"minimal":61326}},"executive_summary":null,"vulnerabilities":[{"id":"71aa9460-6dea-49cc-946c-d7d4bf723511","title":"Japanized For WooCommerce < 2.5.5 - Reflected XSS","created_at":"2023-02-21T20:54:35.000Z","updated_at":"2023-02-21T20:54:36.000Z","published_date":"2023-02-21T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2023-0942"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"2.5.5","introduced_in":null},{"id":"a78d75b2-85a0-41eb-9720-c726ca2e8718","title":"Japanized For WooCommerce < 2.5.8 - Reflected XSS","created_at":"2023-04-17T09:25:11.000Z","updated_at":"2023-05-04T17:48:41.000Z","published_date":"2023-04-17T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2023-0948"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"2.5.8","introduced_in":null},{"id":"c83a1812-9554-4154-a9e9-e854dd6dc61c","title":"Japanized For WooCommerce < 2.6.5 - Missing Authorization","created_at":"2023-11-23T14:01:01.000Z","updated_at":"2024-01-22T20:30:05.000Z","published_date":"2023-11-09T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/0fc675e8-8ba1-40b0-829e-7a48d5eb586d"],"cve":["2023-47698"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.6.5","introduced_in":null},{"id":"a1101dd8-e403-4299-ab43-0bea545ffb76","title":"Japanized For WooCommerce < 2.6.41 - Cross-Site Request Forgery","created_at":"2025-05-28T17:31:17.000Z","updated_at":"2025-05-28T17:31:17.000Z","published_date":"2025-05-19T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/53b97b06-5852-43ca-9585-61814247d3c9"],"cve":["2025-48284"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.6.41","introduced_in":null},{"id":"5eb4c5a5-16f6-445c-a4c0-709467c75bae","title":"Japanized for WooCommerce < 2.8.0 - Missing Authorization to Unauthenticated Order Status Modification","created_at":"2026-01-08T16:32:44.000Z","updated_at":"2026-01-09T05:32:47.000Z","published_date":"2026-01-08T16:20:49.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/4bf3248a-f235-472c-b751-96ac9838b27f"],"cve":["2025-14886"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.8.0","introduced_in":null},{"id":"51f806bc-1dca-42bf-8e34-9824df169f6b","title":"Japanized for WooCommerce < 2.8.5 - Missing Authorization to Unauthenticated Paidy Order Manipulation","created_at":"2026-02-26T21:36:27.000Z","updated_at":"2026-02-27T10:35:14.000Z","published_date":"2026-02-26T21:04:26.000Z","vuln_type":"AUTHBYPASS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/8cef4b2b-ae8d-4e18-b763-6960a0b944f7"],"cve":["2026-1305"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.8.5","introduced_in":null},{"id":"41190a56-548e-4724-be84-dba4966fbcdb","title":"Japanized for WooCommerce < 2.9.13 - Missing Authorization","created_at":"2026-07-07T20:36:24.000Z","updated_at":"2026-07-07T20:36:24.000Z","published_date":"2026-06-29T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/5bcdfac0-6bca-40da-899c-44bcaa71af13"],"cve":["2026-57340"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.9.13","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 '/postcode/' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/check' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x3 - REST endpoint with no permission check (3 occurrence(s))","Pattern 'nopriv_no_nonce' x5 - Nopriv AJAX handler without nonce verification (5 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":5,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'wc_reset_password' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login_failed' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'lostpassword_post' - Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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":["Pattern 'sqli_interpolated' x8 - Interpolated variable in SQL query string (8 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/postcode/","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/check","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":3,"severity":"high","examples":["includes/class-jp4wc-yahoo-api-endpoint.php:8","includes/gateways/linepay/class-wc-linepay-endpoint.php:16","includes/gateways/paidy/class-wc-paidy-endpoint.php:8"],"risk":"REST endpoint with no permission check (3 occurrence(s))"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":5,"severity":"high","examples":["includes/gateways/peachpay/peachpay.php:69","includes/gateways/peachpay/peachpay.php:72","includes/gateways/peachpay/peachpay.php:75"],"risk":"Nopriv AJAX handler without nonce verification (5 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":8,"severity":"critical","examples":["includes/class-jp4wc-usage-tracking.php:468","includes/class-jp4wc-usage-tracking.php:497","includes/class-jp4wc-usage-tracking.php:526"],"risk":"Interpolated variable in SQL query string (8 occurrence(s))"}],"A07":[{"type":"parameter","name":"wc_reset_password","locations":{"POST":[{"file":"/plugins/woocommerce-for-japan/tags/3.1.1/includes/class-jp4wc-security-hardening.php","line":441,"offset":15073,"snippet":"$_POST['wc_reset_password']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login_failed","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"lostpassword_post","risk":"Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}