Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (tenable) · only source for this CVE.
CVSS VectorVendor: tenable
Lifecycle Timeline
2DescriptionCVE.org
SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters ('model_name', 'model_id', 'integration_id', 'provider') on the REST API endpoint '/surecart/v1/integrations/{id}'.
The root cause is a flawed escaping bypass in the query builder ('wp-query-builder'). Values passed to the 'where()' method are only sanitized via '$wpdb->prepare()' when they do not contain a dot ('.') or the WordPress table prefix ('wp_'). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the 'WHERE' clause, allowing full UNION-based extraction of the database.
AnalysisAI
SQL injection in SureCart WordPress plugin versions prior to 4.2.1 allows authenticated high-privileged attackers to extract arbitrary database contents via the /surecart/v1/integrations/{id} REST endpoint. The flaw stems from a sanitization bypass in the wp-query-builder component where payloads containing a dot character skip $wpdb->prepare() escaping entirely, enabling UNION-based data exfiltration. No public exploit identified at time of analysis, though Tenable Research has published technical details (TRA-2026-43).
Technical ContextAI
SureCart is a WordPress e-commerce plugin developed by Brainstorm Force (CPE: cpe:2.3:a:brainstormforce:surecart). The vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) rooted in a logic flaw within the plugin's internal wp-query-builder abstraction. The where() method conditionally applies WordPress's standard $wpdb->prepare() sanitization, but skips it whenever the input value contains either a period ('.') or the 'wp_' table prefix string - apparently to allow column-qualified references like 'table.column'. Injecting a dot in user-controlled parameters (model_name, model_id, integration_id, provider) on the REST integration endpoint causes the raw value to be concatenated into the WHERE clause, enabling UNION-based extraction of arbitrary database tables including users, options, and session data.
RemediationAI
Vendor-released patch: upgrade SureCart to version 4.2.1 or later, which corrects the wp-query-builder where() sanitization logic so that the dot/'wp_' bypass no longer skips $wpdb->prepare(). Administrators should consult the Tenable advisory at https://www.tenable.com/security/research/tra-2026-43 for technical context and verify the plugin version across all WordPress sites. As an interim compensating control until the patch is deployed, restrict access to the /wp-json/surecart/v1/integrations/* REST routes via a web application firewall or .htaccess rule limited to known administrative IP addresses (trade-off: legitimate API integrations and remote admin workflows may break), and audit the WordPress user roster to revoke high-privilege accounts that do not strictly require SureCart management capabilities, reducing the pool of accounts able to satisfy the PR:H requirement.
Account takeover via insecure direct object reference in the SureCart WordPress plugin (versions 4.0.0 through 4.6.2) al
Unauthenticated account registration bypass in SureCart WordPress plugin before 4.7.0 allows remote attackers to create
Account takeover in the SureCart e-commerce plugin for WordPress (versions ≤ 4.2.3) lets unauthenticated attackers overw
Missing authorization controls in SureCart WordPress plugin versions up to 4.0.2 allow authenticated attackers to access
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in SureCart al
Broken access control in the SureCart WordPress e-commerce plugin through version 4.6.2 permits unauthenticated remote a
Auth. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable, low attack complexity. No vendor pat
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31072
GHSA-qp65-j7f9-qv73