{"id":"CVE-2023-2744","details":"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.","modified":"2026-04-10T04:56:41.328915Z","published":"2023-06-27T14:15:11.433Z","references":[{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/175106/WordPress-WP-ERP-1.12.2-SQL-Injection.html"},{"type":"EVIDENCE","url":"https://wpscan.com/vulnerability/435da8a1-9955-46d7-a508-b5738259e731"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wp-erp/wp-erp","events":[{"introduced":"0"},{"fixed":"d5c495ae1b2d79b71f66050d929f66bbcbc116d8"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.12.4"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2744.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}