Skip to content
Heist/ feed
Back to feed
High

WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection

Type: advisorySources: OSV

The WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting plugin for WordPress is vulnerable to time-based SQL Injection via the erp/v1/accounting/v1/transactions/sales REST API endpoint in all versions up to, and including, 1.13.0 due to insufficient escaping on the user supplied status and customer_id parameters and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with accounting manager or admin privileges and higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-0913
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:34 UTC · Revision 1

Source evidence

WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection

core-osv · Original source

Published 29 Mar 2024, 06:43 UTC

The WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting plugin for WordPress is vulnerable to time-based SQL Injection via the erp/v1/accounting/v1/transactions/sales REST API endpoint in all versions up to, and including, 1.13.0 due to insufficient escaping on the user supplied status and customer_id parameters and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with accounting manager or admin privileges and higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

osv:CVE-2024-0913
Complete source record
{
  "id": "c94f9ac0460b9e5717834389c14b12039cbcabbf3dd18f1c4fd7a5dcf1a4cd61",
  "url": "https://osv.dev/vulnerability/CVE-2024-0913",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection",
    "summary": "The WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting plugin for WordPress is vulnerable to time-based SQL Injection via the erp/v1/accounting/v1/transactions/sales REST API endpoint in all versions up to, and including, 1.13.0 due to insufficient escaping on the user supplied status and customer_id parameters and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with accounting manager or admin privileges and higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.",
    "evidence": "osv:CVE-2024-0913",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-0913",
      "aliases": [
        "CVE-2024-0913"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wp-erp/wp-erp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "4887693fd3cfcd77f012cfbfe3e4ab47b3e3562c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wedevs:wp_erp:*:*:*:*:free:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.12.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.12.9",
            "v1.12.8",
            "v1.12.7",
            "v1.12.6",
            "v1.12.5",
            "v1.12.3",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.3",
            "v1.11.2",
            "v1.11.1",
            "v1.11.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0913.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.553381873Z",
      "provider": "osv",
      "references": [
        "https://plugins.trac.wordpress.org/browser/erp/trunk/modules/accounting/includes/functions/transactions.php#L42",
        "https://plugins.trac.wordpress.org/changeset/3064874",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/592440ab-60ac-419f-b615-e5617460aea9?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0913.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-0913"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "Wordfence",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.13.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0913.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-0913",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499704,
  "published_at": "2024-03-29T06:43:59.567+00:00"
}