CVE-2026-8705
The ClearSale Total plugin for WordPress is vulnerable to SQL …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/clearsale-total/tags/3.3.2/includes/class-clearsale-tot
- plugins.trac.wordpress.org/browser/clearsale-total/tags/3.4.2/includes/class-clearsale-tot
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total-aj
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total-aj
- plugins.trac.wordpress.org/browser/clearsale-total/trunk/includes/class-clearsale-total.ph
- www.wordfence.com/threat-intel/vulnerabilities/id/871f6611-3b5e-4e36-992c-726b31e88c95?sou
- nvd.nist.gov/vuln/detail/CVE-2026-8705
- cve.org/CVERecord?id=CVE-2026-8705
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.