Summary
CVE-2026-8705 is a high-severity SQL Injection vulnerability affecting the ClearSale Total plugin for WordPress (versions ≤ 3.4.2), a WooCommerce anti-fraud and payment integration plugin. Unauthenticated remote attackers can inject arbitrary SQL into an unprotected AJAX endpoint, enabling full read access to the underlying WordPress database. The vulnerability carries a CVSS v3.1 base score of 7.5 (HIGH) and requires no privileges or user interaction to exploit.
Technical details
- Root cause: Three compounding weaknesses enable exploitation. First, the
clearsale_total_pushAJAX handler is registered underwp_ajax_nopriv_clearsale_total_push, making it reachable without authentication. Second, while awp_verify_nonce()check exists in the handler, thedie()call in the nonce-failure branch has been commented out, so execution continues unconditionally regardless of nonce validity — effectively neutralising the intended access control. Third, thepagseguro[metodo]POST parameter is written directly into an unquoted SQLUPDATEstatement (UPDATE wp_cs_total_dadosextras SET metodo=$metodo, ...) with no escaping or parameterisation. - Trigger condition: On PHP versions below 8.0, PHP’s loose type comparison allows an attacker to supply a crafted string such as
"4 AND SLEEP(5)", which theswitch ($metodo) { case 4: ... }guard evaluates as equal to integer4due to type juggling. This lands execution inside the vulnerable code path and inserts the attacker-supplied string directly into the SQL query. PHP 8.0 and above deprecated this loose comparison behaviour, which breaks this specific bypass. - Attack vector: Unauthenticated HTTP POST request to the WordPress AJAX endpoint (
/wp-admin/admin-ajax.php?action=clearsale_total_push), reachable from the internet with no prior access. - Impact: Unauthenticated attackers can append arbitrary SQL to existing queries and extract sensitive data from the WordPress database, including user credentials, order records, and payment-related information stored by WooCommerce. Integrity and availability are not directly impacted per the CVSS assessment.
Affected software
- ClearSale Total plugin for WordPress — all versions up to and including 3.4.2
- Exploitation additionally requires the host to be running PHP < 8.0
Severity
- CVSS v3.1 Base Score: 7.5 (HIGH)
- Vector String:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- No patch is currently available. The ClearSale Total plugin was closed on the WordPress.org Plugin Repository on June 21, 2026, pending a full security review. No fixed version has been released as of the publication of this advisory.
- Immediate action — deactivate and remove the plugin: Site administrators running the ClearSale Total plugin should deactivate and uninstall it immediately until a patched version is made available by the vendor.
- Partial server-side mitigation: Upgrading the server’s PHP runtime to PHP 8.0 or higher removes the loose type juggling condition that enables the SQL injection bypass. However, this does not fix the underlying nonce bypass or the unquoted SQL parameter; it solely prevents the currently known exploitation path. Removing the plugin remains the recommended action.
- Network mitigation: If immediate removal is not possible, restrict access to
/wp-admin/admin-ajax.phpat the WAF or network layer to block unauthenticated external requests while a full remediation is planned.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

