ClearSale Total <= 3.4.2 - Unauthenticated SQL Injection
Summary
| CVE | CVE-2026-8705 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 07:16:28 UTC |
| Updated | 2026-06-25 13:26:11 UTC |
| Description | The ClearSale Total plugin for WordPress is vulnerable to SQL Injection via the `pagseguro[metodo]` POST parameter of the `clearsale_total_push` AJAX action in all versions up to, and including, 3.4.2. The handler is registered for unauthenticated users (`wp_ajax_nopriv_clearsale_total_push`), and although a `wp_verify_nonce()` check exists, the failing branch's `die()` is commented out so execution continues regardless of nonce validity. On PHP < 8.0 the attacker-supplied `$metodo` value bypasses the `switch ($metodo) { case 4: ... }` guard via loose type juggling (the string `"4 AND SLEEP(5)"` compares equal to integer `4`), reaching an unquoted `UPDATE wp_cs_total_dadosextras SET metodo=$metodo, ...` query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires the target server to be running PHP < 8.0. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.005050000 probability, percentile 0.393040000 (date 2026-06-29)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Clearsale | ClearSale Total | affected <= 3.4.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/871f6611-3b5e-4e36-992c-726b3... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total-... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total-... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/clearsale-total/tags/3.3.2/includes/class-clearsale-t... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/clearsale-total/tags/3.4.2/includes/class-clearsale-t... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Catalin Oancea (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-23T16:37:17.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.