CVE-2026-8705: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in clearsale ClearSale Total
ClearSale Total WordPress plugin versions up to and including 3.4.2 contain an SQL Injection vulnerability in the `pagseguro[metodo]` POST parameter of the `clearsale_total_push` AJAX action. The vulnerability allows unauthenticated attackers to bypass nonce verification due to commented-out error handling and exploit loose type juggling in PHP versions below 8.0, enabling injection of arbitrary SQL commands. This can lead to unauthorized extraction of sensitive database information.
AI Analysis
Technical Summary
The ClearSale Total plugin for WordPress is vulnerable to SQL Injection via the `pagseguro[metodo]` POST parameter in the `clearsale_total_push` AJAX action, which is accessible to unauthenticated users. Although a nonce verification function is present, its failure branch is disabled, allowing execution to continue regardless of nonce validity. On PHP versions below 8.0, loose type juggling causes the string "4 AND SLEEP(5)" to be treated as integer 4 in a switch statement, bypassing intended guards and leading to an unquoted SQL UPDATE query that incorporates attacker-controlled input. This enables attackers to append additional SQL commands, potentially extracting sensitive data from the database. The vulnerability affects all versions up to and including 3.4.2. Exploitation requires the server to run PHP versions earlier than 8.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to perform SQL Injection attacks, allowing them to execute arbitrary SQL commands on the backend database. This can lead to unauthorized disclosure of sensitive information. The vulnerability does not impact integrity or availability directly according to the CVSS vector, but confidentiality is rated high. Exploitation depends on the server running PHP versions below 8.0.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider upgrading PHP to version 8.0 or later, where the loose type juggling issue is resolved. Additionally, review and correct the nonce verification logic to ensure that failed nonce checks terminate execution properly. Avoid exposing the vulnerable AJAX action to unauthenticated users if possible.
CVE-2026-8705: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in clearsale ClearSale Total
Description
ClearSale Total WordPress plugin versions up to and including 3.4.2 contain an SQL Injection vulnerability in the `pagseguro[metodo]` POST parameter of the `clearsale_total_push` AJAX action. The vulnerability allows unauthenticated attackers to bypass nonce verification due to commented-out error handling and exploit loose type juggling in PHP versions below 8.0, enabling injection of arbitrary SQL commands. This can lead to unauthorized extraction of sensitive database information.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ClearSale Total plugin for WordPress is vulnerable to SQL Injection via the `pagseguro[metodo]` POST parameter in the `clearsale_total_push` AJAX action, which is accessible to unauthenticated users. Although a nonce verification function is present, its failure branch is disabled, allowing execution to continue regardless of nonce validity. On PHP versions below 8.0, loose type juggling causes the string "4 AND SLEEP(5)" to be treated as integer 4 in a switch statement, bypassing intended guards and leading to an unquoted SQL UPDATE query that incorporates attacker-controlled input. This enables attackers to append additional SQL commands, potentially extracting sensitive data from the database. The vulnerability affects all versions up to and including 3.4.2. Exploitation requires the server to run PHP versions earlier than 8.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to perform SQL Injection attacks, allowing them to execute arbitrary SQL commands on the backend database. This can lead to unauthorized disclosure of sensitive information. The vulnerability does not impact integrity or availability directly according to the CVSS vector, but confidentiality is rated high. Exploitation depends on the server running PHP versions below 8.0.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider upgrading PHP to version 8.0 or later, where the loose type juggling issue is resolved. Additionally, review and correct the nonce verification logic to ensure that failed nonce checks terminate execution properly. Avoid exposing the vulnerable AJAX action to unauthenticated users if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-15T18:54:05.876Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3b7812eed863c81e5f72de
Added to database: 06/24/2026, 06:24:18 UTC
Last enriched: 06/24/2026, 06:39:27 UTC
Last updated: 06/24/2026, 07:34:13 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.