PT-2026-42123 · WordPress · Surecart
CVE-2026-9065
·
Published
2026-05-20
·
Updated
2026-05-20
CVSS v4.0
9.3
Critical
| Vector | 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 |
Name of the Vulnerable Software and Affected Versions
SureCart versions prior to 4.2.1
Description
Authenticated users can perform SQL injection through the REST API endpoint '/surecart/v1/integrations/{id}' using the parameters
model name, model id, integration id, and provider. The issue stems from a flawed escaping bypass in the query builder ('wp-query-builder'). Specifically, values passed to the where() method are only sanitized via $wpdb->prepare() if they do not contain a dot ('.') or the WordPress table prefix ('wp '). Including a dot in the payload allows an attacker to bypass the escaping logic and inject arbitrary SQL into the 'WHERE' clause, enabling full UNION-based extraction of the database.Recommendations
Update to version 4.2.1 or later.
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Surecart