SQL Injection in Clearsale Total
CVE-2026-8705
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.007 · 53.3th percentile
- Published
- 2026-06-24
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 53.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Clearsale Total — versions <= 3.4.2
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/871f6611-3b5e-4e36-992c-726b3…
- plugins.trac.wordpress.org/browser/clearsale-total/tags/3.3.2/includes/class-cl…
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsa…
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsa…
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsa…
- plugins.trac.wordpress.org/browser/clearsale-total/tags/3.4.2/includes/class-cl…