Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-accessible endpoint requires authenticated HR Manager role (PR:L); read-only SQL injection path means no integrity or availability impact applies.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The ERP: Complete HR, Accounting & CRM Suite with Recruitment and WooCommerce CRM Support plugin for WordPress is vulnerable to generic SQL Injection via the 'orderby' parameter in all versions up to, and including, 1.17.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with custom-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires the erp_list_employee capability, which is granted to HR Manager-level users and above within the WP ERP plugin.
AnalysisAI
SQL Injection in WP ERP (wedevs) versions through 1.17.5 allows authenticated HR Manager-level users to exfiltrate arbitrary data from the WordPress database via the unsanitized orderby parameter in the leave management module. The flaw resides in functions-leave.php and LeaveRequestsListTable.php, where user-supplied sort parameters are interpolated directly into SQL queries without escaping or prepared statements. No public exploit code is confirmed and this CVE is not listed in the CISA KEV catalog, but the confidentiality impact is high given the plugin stores HR records, payroll data, and CRM contacts.
Technical ContextAI
The affected software is WP ERP by wedevs (CPE: cpe:2.3:a:wedevs:erp), a comprehensive HR, accounting, and CRM suite for WordPress. The root cause is CWE-89 (Improper Neutralization of Special Elements in SQL Commands): the orderby URL parameter handled by the leave management subsystem is concatenated into SQL ORDER BY clauses without escaping or use of WordPress prepared statement APIs ($wpdb->prepare()). The vulnerable code paths are pinpointed by source references to modules/hrm/includes/functions-leave.php (lines 1408, 1409, 1521) and modules/hrm/includes/LeaveRequestsListTable.php (line 384). WordPress does not automatically sanitize ORDER BY values, placing full responsibility on plugin authors - a commonly missed sanitization surface.
RemediationAI
Update WP ERP to the latest available version beyond 1.17.5 via the WordPress plugin dashboard; a fix has been committed to the upstream SVN repository per the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/208c8f55-14e0-47c4-b310-dd7b7edbadd4) and the changeset (https://plugins.trac.wordpress.org/changeset?reponame=&old=3598905%40erp&new=3598905%40erp), though the exact patched release version is not independently confirmed in the available input data - verify the installed version against the Wordfence advisory after updating. As a compensating control where immediate patching is not feasible, audit and minimize the set of users assigned the HR Manager role or the erp_list_employee capability, removing any accounts that do not strictly require it - this directly shrinks the exploitable attack surface. A WAF rule blocking SQL metacharacters (single quotes, UNION, comment sequences) in the orderby parameter on WP ERP leave management endpoints can provide additional layered defense, though this may require tuning to avoid false positives on legitimate sort requests.
ERP commit 44bd04 was discovered to contain a SQL injection vulnerability via the id parameter at /index.php/basedata/co
An arbitrary file upload vulnerability in ERP commit 44bd04 allows attackers to execute arbitrary code via uploading a c
jerryhanjj ERP 1.0 is vulnerable to SQL Injection in the set_password function in application/controllers/home.php. Rate
Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an arbitrary file upload vulnerability. Rated high severity (CVSS
Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an OS command injection vulnerability via calls made to the XMSer
A vulnerability was found in jerryhanjj ERP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
ERP commit 44bd04 was discovered to contain a SQL injection vulnerability via the id parameter at /index.php/basedata/in
Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an information disclosure vulnerability via the /debug endpoint.
Sme.UP TOKYO V6R1M220406 was discovered to contain an arbitrary file download vulnerabilty via the component /ResourceSe
Unrestricted file upload in the wedevs WP ERP plugin (ERP: Complete HR, Accounting & CRM Suite for WooCommerce) for Word
There is an improper Neutralization of Special Elements used in an SQL Command (SQL Injection) vulnerability in php file
VAT Pro-Rata reports in SAP ERP (SAP_APPL versions 600, 602, 603, 604, 605, 606, 616 and SAP_FIN versions 617, 618, 700,
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42539
GHSA-874f-wgfx-gr6c