PT-2026-51686 · Clearsale · Clearsale Total
Catalin Oancea
·
Published
2026-06-24
·
Updated
2026-06-24
·
CVE-2026-8705
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
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.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Clearsale Total