# CVE-2024-6666: WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection via vendor_id

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-07-11T06:43:13.765Z
- Modified: 2026-06-17T08:18:26.867Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The WP ERP plugin for WordPress is vulnerable to SQL Injection via the ‘vendor_id’ and 'status' parameter in all versions up to, and including, 1.13.0 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 Accounting Manager access (erp_ac_view_sales_summary capability) and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

(As written by CVE List.)

## Affected

- wedevs ERP: Complete HR, Accounting & CRM Suite with WooCommerce CRM Support: up to 1.13.0
- wedevs wp_erp: up to 1.13.0; before 1.13.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/e23335c9-0830-4c6b-8e0d-6897a7176ba5?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/3064874/erp/tags/1.13.1/modules/accounting/includes/functions/transactions.php> (patch)

## Sources

- CVE List: [CVE-2024-6666](https://www.cve.org/CVERecord?id=CVE-2024-6666), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-6666](https://nvd.nist.gov/vuln/detail/CVE-2024-6666), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6666 · Whole record: https://cve.day/CVE-2024-6666.json · Rebuilt by cve.day 2026-11-25T22:58:42.782Z
