{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.12.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d5c495ae1b2d79b71f66050d929f66bbcbc116d8"
            }
          ],
          "repo": "https://github.com/wp-erp/wp-erp",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2023-2744",
  "modified": "2026-03-15T13:47:49.962769115Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}