CVE-2026-9065

Severity CVSS v4.0:
CRITICAL
Type:
CWE-89 SQL Injection
Publication date:
20/05/2026
Last modified:
20/05/2026

Description

SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters (&amp;#39;model_name&amp;#39;, &amp;#39;model_id&amp;#39;, &amp;#39;integration_id&amp;#39;, &amp;#39;provider&amp;#39;) on the REST API endpoint &amp;#39;/surecart/v1/integrations/{id}&amp;#39;.<br /> <br /> The root cause is a flawed escaping bypass in the query builder (&amp;#39;wp-query-builder&amp;#39;). Values passed to the &amp;#39;where()&amp;#39; method are only sanitized via &amp;#39;$wpdb-&gt;prepare()&amp;#39; when they do **not** contain a dot (&amp;#39;.&amp;#39;) or the WordPress table prefix (&amp;#39;wp_&amp;#39;). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the &amp;#39;WHERE&amp;#39; clause, allowing full UNION-based extraction of the database.

References to Advisories, Solutions, and Tools