CVE-2026-9065
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSureCart 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSureCart versions before 4.2.1 contain an authenticated SQL injection in the REST API endpoint '/surecart/v1/integrations/{id}' via parameters including 'model_name', 'model_id', 'integration_id', and 'provider'. The vulnerability exists in the 'wp-query-builder' library where the 'where()' method only applies $wpdb->prepare() sanitization when values lack a dot ('.') or WordPress prefix ('wp_'); including a dot bypasses escaping entirely, enabling UNION-based SQL injection.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- Authentication
- X
- User interaction
- None
- Scope
- X
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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm SureCart plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for SureCart. Or check the file system: look for /wp-content/plugins/surecart/ directory.Affected if SureCart is not installed on the WordPress site.
-
Check installed SureCart versionIn WordPress admin, go to Plugins > Installed Plugins and find the SureCart plugin to view its version number. Alternatively, check /wp-content/plugins/surecart/surecart.php for the 'Version' header in the plugin file.Affected if The version number is lower than 4.2.1 (for example, 4.2.0, 4.1.x, etc.).
-
Verify REST API access to the vulnerable endpointSend an authenticated GET request to /wp-json/surecart/v1/integrations/1 using a valid WordPress user account (such as an administrator). Use a tool like curl: curl -k -u 'username:password' 'https://yourdomain.com/wp-json/surecart/v1/integrations/1'Affected if The API returns a valid JSON response (not a 401/403 error), indicating the endpoint is accessible to authenticated users.
-
Check for vulnerable parameter handlingWith an authenticated session, send a request with a dot in one of the parameters (model_name, model_id, integration_id, or provider) to see if it is processed without proper escaping. For example: curl -k -u 'username:password' 'https://yourdomain.com/wp-json/surecart/v1/integrations/1?model_name=test.data'Affected if The parameter with a dot is processed without triggering sanitization errors or being properly escaped in the SQL query.
You are affected if SureCart is installed with a version lower than 4.2.1 AND your site allows authenticated users to access the /surecart/v1/integrations REST API endpoint.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate SureCart to version 4.2.1 or later. Until patched, restrict access to the REST API endpoint and monitor for suspicious patterns containing dots in parameter values.
SureCart version 4.2.1 or later
- 1. Update the SureCart plugin to version 4.2.1 or later via the WordPress admin dashboard (Plugins > SureCart > Update Now)
- 2. Alternatively, update via WP-CLI: `wp plugin update surecart --version=4.2.1` or `wp plugin update surecart` to get the latest version
- 3. Verify the update was successful by checking the plugins page or running `wp plugin get surecart`
- 4. Confirm the installed version is 4.2.1 or higher: `grep "Version:" /wp-content/plugins/surecart/surecart.php`
- 5. Test that the SQL injection vulnerability is patched by verifying the REST API endpoint '/surecart/v1/integrations/{id}' no longer accepts malicious payloads with dots in the 'model_name', 'model_id', 'integration_id', or 'provider' parameters
- 6. Consider running a WordPress security scan to confirm no other vulnerabilities remain
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-9065 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-9065 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data