title: WP ERP < 1.12.4 - Admin+ SQL Injection
description: The ERP WordPress plugin before 1.12.4 does not properly sanitise and escape the `type` parameter in the `erp/v1/accounting/v1/people` REST API endpoint before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin.
problem types: CWE-89 SQL Injection
affected:
{
vendor: Unknown
product: WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting
versions:
status: affected, versionType: custom, version: 0, lessThan: 1.12.4
defaultStatus: unaffected
collectionURL: https://wordpress.org/plugins
}