Skip to main content

WP ERP CVE-2026-11421

| EUVDEUVD-2026-53041 MEDIUM
SQL Injection (CWE-89)
2026-08-05 Wordfence GHSA-hjjr-7h7r-m538
6.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain CRM Agent role credentials
  2. Delivery
    Send crafted AJAX POST with malicious erpadvancefilter payload
  3. Exploit
    sanitize_text_field passes single quotes intact
  4. Execution
    erp_crm_contact_advance_filter() interpolates payload into SQL WHERE clause
  5. Persist
    $wpdb->get_results() executes injected query
  6. Impact
    Extract sensitive rows from WordPress database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid WordPress session authenticated with the plugin-supplied CRM Agent role or a higher CRM role (CRM Manager or WordPress admin), plus the erp_crm_list_contact capability. These roles must be explicitly assigned by a WordPress administrator - they are not granted by default to ordinary subscribers or site visitors. The vulnerable code path is reached via a network-accessible AJAX endpoint (AV:N, no local access required), but the session authentication gate means unauthenticated attackers cannot reach the vulnerable parameter. Exploitation is further limited to WordPress installations with the WP ERP plugin active and its CRM module enabled. What limits exploitation: the requirement for a specifically privileged, plugin-assigned role reduces the realistic attacker pool to insiders, compromised privileged accounts, or social-engineering scenarios targeting CRM users.

Impact

The NVD/Wordfence CVSS score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately reflects the primary risk profile: the attack requires no special network position and low complexity, but is gated behind a low-privilege authenticated session with the plugin-supplied CRM Agent role and the erp_crm_list_contact capability. This authentication requirement is the single most significant real-world mitigating factor - an attacker must first obtain valid credentials with that specific role, which requires prior admin assignment. Confidentiality impact is high (arbitrary database read, potentially exposing WordPress user hashes, contact PII, financial data), while integrity and availability are unaffected by this injection path. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV, and no public exploit or POC has been identified. The Wordfence advisory and detailed trac source links make the flaw technically transparent, which may lower the barrier to exploitation once a POC is developed. Real-world priority is moderate: organizations with many CRM Agent role users face meaningful insider or compromised-credential risk; organizations with tightly controlled role assignments face lower immediate exposure.

Exploit ScenarioDerived

An attacker who has obtained or been granted a CRM Agent account on the target WordPress site submits a crafted HTTP request to the CRM AJAX endpoint with a malicious 'erpadvancefilter' value containing a SQL escape sequence (e.g., a single quote followed by a UNION SELECT clause). Because sanitize_text_field preserves the single quote, the injected SQL breaks out of the intended WHERE clause string and appends an attacker-controlled query, causing $wpdb->get_results() to return rows from arbitrary database tables including wp_users. No public POC has been identified, but the full call chain is documented in Wordfence's advisory and the plugin trac source references.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

SQL injection in the WP ERP WordPress plugin (all versions through 1.17.4) allows authenticated CRM Agent-role users to extract arbitrary data from the WordPress database by supplying a crafted 'erpadvancefilter' parameter to the CRM AJAX handler. The root flaw is a sanitization gap: sanitize_text_field strips HTML but preserves single quotes, which are then interpolated verbatim into a single-quoted SQL WHERE clause inside erp_crm_contact_advance_filter() before execution via $wpdb->get_results(), bypassing WordPress's parameterized query protections entirely. No public exploit has been identified at time of analysis, but the vulnerable code paths are fully documented in WordPress plugin trac source references provided by Wordfence.

RemediationAI

A fix has been committed to the plugin's development trunk in changeset 3577284, modifying functions-customer.php to address the interpolation flaw; however, a tagged released version beyond 1.17.4 is not independently confirmed from the available references, so administrators should monitor the WordPress plugin repository at https://wordpress.org/plugins/erp/ for a patched release and upgrade promptly once available. In the interim, the most effective compensating control is to audit and restrict assignment of the CRM Agent role to only trusted, known individuals - removing the role from any accounts not explicitly requiring it, since exploitation requires this specific role plus the erp_crm_list_contact capability. As an additional layer, Web Application Firewall rules blocking SQL metacharacters (single quotes, SQL keywords) in the 'erpadvancefilter' AJAX parameter can reduce exploitation risk, though WAF bypass techniques exist and this should not substitute for patching. Disabling the CRM contact advance filter feature entirely, if operationally feasible, eliminates exposure to this specific endpoint.

Affected VersionsENISA

ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce 0 ≤1.17.4

Affected Packages

euvd erp_complete_hr_accounting_crm_suite_built_for_woocommerce no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is the WP ERP plugin by weDevs (CPE: cpe:2.3:a:wedevs:erp), a WordPress business suite covering HR, accounting, and CRM functions including WooCommerce integration. CWE-89 (Improper Neutralization of Special Elements in SQL Commands) applies: the AJAX handler registered in AjaxHandler.php (line 180) accepts 'erpadvancefilter' from user input and passes it through WordPress's sanitize_text_field(), a function designed to strip HTML tags and invisible characters but explicitly documented to preserve single-quote characters. The sanitized value is then passed to erp_crm_contact_advance_filter() in functions-customer.php (line 2376), which constructs a SQL WHERE clause via string interpolation - embedding the user-controlled value inside a single-quoted SQL fragment - before executing it with $wpdb->get_results(). Because the value is interpolated into a single-quoted context and single quotes are preserved, an attacker can escape the intended string boundary and append arbitrary SQL clauses, enabling UNION-based or boolean-based data extraction. The functions-people.php references (lines 203, 228) and CRM.php entry point confirm the call chain.

Know when Erp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

PR:L reflects mandatory CRM Agent role; AV:N for network-accessible AJAX endpoint; C:H for arbitrary database read; I:N and A:N as the injection path is read-only.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The ERP: Complete HR, Accounting & CRM Suite with WooCommerce CRM Support plugin for WordPress is vulnerable to SQL Injection via the 'erpadvancefilter' parameter in all versions up to, and including, 1.17.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. The handler runs the value through sanitize_text_field, which preserves single quotes, and the downstream erp_crm_contact_advance_filter() function interpolates it directly into a single-quoted SQL WHERE clause before execution via $wpdb->get_results(). This makes it possible for authenticated attackers, with the plugin-supplied CRM Agent role (or higher CRM Manager / WordPress admin) and the erp_crm_list_contact capability, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular WordPress business ERP/CRM plugin, sizeable but non-universal install base
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Erp

View all
CVE-2024-42565 CRITICAL POC
9.8 Aug 20

ERP commit 44bd04 was discovered to contain a SQL injection vulnerability via the id parameter at /index.php/basedata/co

CVE-2024-42563 CRITICAL POC
9.8 Aug 20

An arbitrary file upload vulnerability in ERP commit 44bd04 allows attackers to execute arbitrary code via uploading a c

CVE-2025-29390 HIGH POC
8.8 Apr 09

jerryhanjj ERP 1.0 is vulnerable to SQL Injection in the set_password function in application/controllers/home.php. Rate

CVE-2023-26762 HIGH POC
8.8 Feb 27

Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an arbitrary file upload vulnerability. Rated high severity (CVSS

CVE-2023-26759 HIGH POC
8.8 Feb 27

Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an OS command injection vulnerability via calls made to the XMSer

CVE-2022-3944 HIGH POC
8.8 Nov 11

A vulnerability was found in jerryhanjj ERP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2024-42564 HIGH POC
7.6 Aug 20

ERP commit 44bd04 was discovered to contain a SQL injection vulnerability via the id parameter at /index.php/basedata/in

CVE-2023-26760 HIGH POC
7.5 Feb 27

Sme.UP ERP TOKYO V6R1M220406 was discovered to contain an information disclosure vulnerability via the /debug endpoint.

CVE-2023-26758 HIGH POC
7.5 Feb 27

Sme.UP TOKYO V6R1M220406 was discovered to contain an arbitrary file download vulnerabilty via the component /ResourceSe

CVE-2026-18080 CRITICAL
9.8 Aug 26

Unrestricted file upload in the wedevs WP ERP plugin (ERP: Complete HR, Accounting & CRM Suite for WooCommerce) for Word

CVE-2020-8967 CRITICAL
9.8 Jun 01

There is an improper Neutralization of Special Elements used in an SQL Command (SQL Injection) vulnerability in php file

CVE-2020-6188 HIGH
8.8 Feb 12

VAT Pro-Rata reports in SAP ERP (SAP_APPL versions 600, 602, 603, 604, 605, 606, 616 and SAP_FIN versions 617, 618, 700,

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy