Atomic Edge analysis of CVE-2026-4834 (metadata-based): This vulnerability affects the WP ERP Pro plugin for WordPress, versions up to and including 1.5.1. It is an unauthenticated SQL injection via the ‘search_key’ parameter. The CVSS score is 7.5 (High), with network-based attack vector, low complexity, no privileges required, and no user interaction. The impact is limited to confidentiality (high), with no impact on integrity or availability.
Root cause: Based on the CWE-89 classification and description, the likely root cause is that the plugin passes user-supplied input from the ‘search_key’ parameter directly into a SQL query without proper escaping or parameterized statements. The description confirms insufficient escaping and lack of preparation on the existing SQL query. Atomic Edge research infers that this vulnerable code resides in a database query function, likely in a model or repository class for an ERP entity (e.g., contacts, customers, products) that uses the ‘search_key’ parameter to filter results. Unauthenticated access indicates the endpoint lacks proper capability checks or nonce verification.
Exploitation: An unauthenticated attacker sends a request to an AJAX handler or REST API endpoint exposed by the plugin. The likely endpoint is a search action, such as /wp-admin/admin-ajax.php?action=erp_pro_search or a custom REST route under /wp-json/erp-pro/v1/. The attacker supplies a malicious ‘search_key’ parameter containing SQL injection payloads, for example: ‘search_key=test’ OR 1=1– – or ‘search_key=test’ UNION SELECT user_pass,user_login FROM wp_users– -. The injection occurs because the parameter value is concatenated into a SQL query without proper sanitization or prepared statements. The attacker can extract sensitive data like user credentials or other database contents.
Remediation: The fix requires replacing unsafe SQL query construction with parameterized queries using $wpdb->prepare() or WordPress’s query methods that support placeholders. All user-supplied input, especially the ‘search_key’ parameter, must be properly escaped and validated. The plugin should also implement proper authorization checks (e.g., nonce verification and capability checks) on the affected endpoints to prevent unauthenticated access. A comprehensive review of all database queries in the plugin using the ‘search_key’ parameter is necessary.
Impact: Successful exploitation allows an attacker to extract sensitive information from the WordPress database, including user credentials (hashed passwords), emails, session tokens, and other confidential data. This can lead to full site compromise if the attacker cracks admin password hashes or uses stolen session tokens. No authentication is required, making the attack accessible to anyone with network access to the vulnerable WordPress site.







