Skip to main content

ClearSale Total CVE-2026-8705

| EUVDEUVD-2026-38672 HIGH
SQL Injection (CWE-89)
2026-06-24 Wordfence GHSA-58pf-7c32-vjf7
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WordPress site running ClearSale Total on PHP 7.x
  2. Delivery
    Craft POST to admin-ajax.php with action=clearsale_total_push
  3. Exploit
    Supply pagseguro[metodo]=4 AND <SQL payload>
  4. Install
    Bypass nonce check via missing die()
  5. C2
    Bypass switch guard via type juggling
  6. Execute
    Inject into unquoted UPDATE query
  7. Impact
    Exfiltrate database contents via boolean/time-based inference

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Target must be a WordPress site running the ClearSale Total plugin at version 3.4.2 or earlier with the clearsale_total_push AJAX action registered (default install behavior - it uses wp_ajax_nopriv_ so no login is required). The underlying PHP runtime must be version 7.x or earlier (PHP < 8.0) for the loose-comparison type juggling that bypasses the switch/case integer guard to succeed; on PHP 8.0+ the comparison '4 AND SLEEP(5)' == 4 returns false and the injection sink is unreachable. No user interaction, no authentication, and no non-default plugin configuration are required, but the PHP version gate is a hard prerequisite that meaningfully shrinks the exploitable population.

Impact

CVSS 3.1 base score is 7.5 (AV:N/AC:L/PR:N/UI:N) reflecting unauthenticated network exploitation with low complexity, but impact is constrained to confidentiality (C:H/I:N/A:N) - consistent with a read-oriented SQLi used for data exfiltration rather than full database write or RCE pivot. The advisory was published by Wordfence (a credible WordPress threat intel source), but no EPSS score, KEV listing, or public POC was supplied, so likelihood of mass exploitation cannot be quantified from the inputs. A meaningful limiting factor is the PHP < 8.0 prerequisite: PHP 7.4 reached end of life in November 2022, so well-maintained hosts are not affected, but legacy shared hosting and unpatched LAMP stacks remain a realistic target population. Net assessment: a genuine priority for any site still on PHP 7.x running this plugin, but lower urgency on modern PHP 8.x deployments where the type-juggling bypass does not trigger.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted POST to /wp-admin/admin-ajax.php with action=clearsale_total_push and a pagseguro[metodo] value such as '4 AND (SELECT SLEEP(5))' or a UNION-based payload, omitting or supplying any nonce value. Because the nonce-failure die() is commented out and PHP 7.x loose equality matches the string against case 4, the payload reaches the unquoted UPDATE query and exfiltrates wp_users password hashes, session tokens, or other sensitive table contents via boolean/time-based inference. No public exploit identified at time of analysis, but the flaw is trivially scriptable given the public source references.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Unauthenticated SQL injection in the ClearSale Total WordPress plugin (all versions through 3.4.2) allows remote attackers to extract sensitive database contents via the pagseguro[metodo] POST parameter of the clearsale_total_push AJAX action. The flaw is reachable without authentication because the nopriv AJAX handler ships with a commented-out die() in the nonce-failure branch, and on PHP < 8.0 loose type juggling bypasses the switch/case integer guard. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis - version 3.4.2 (the latest as of this advisory) is still vulnerable, so site operators should deactivate and remove the ClearSale Total plugin until a fixed release is published by the vendor or replace it with an alternative anti-fraud integration. As a compensating control, upgrading the underlying PHP runtime to 8.0 or later neutralizes the type-juggling bypass that reaches the injection sink and is independently recommended (PHP 7.x is end-of-life); note this does not fix the missing die() after nonce failure and would still leave the broken authorization in place if future code paths reach it. Operators who cannot remove the plugin can block POST requests to /wp-admin/admin-ajax.php where action=clearsale_total_push at a WAF/reverse-proxy layer (Wordfence, Cloudflare WAF, ModSecurity), accepting the trade-off that any legitimate plugin functionality using this AJAX endpoint will break. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/871f6611-3b5e-4e36-992c-726b31e88c95 for fix availability.

Affected VersionsENISA

ClearSale Total ≤ 3.4.2

Affected Packages

euvd clearsale_total no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ClearSale Total is a WordPress e-commerce anti-fraud plugin that integrates with Brazilian payment gateways such as PagSeguro. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) compounded by two upstream weaknesses: a broken authorization gate (the wp_verify_nonce() failure path lacks a die()/exit, so execution falls through) and reliance on PHP's loose-equality switch statement, where the string '4 AND SLEEP(5)' is coerced to integer 4 and matches case 4. The vulnerable sink is an unquoted UPDATE statement against wp_cs_total_dadosextras that interpolates the attacker-controlled $metodo value directly into the query, enabling stacked-condition injection (boolean/time-based) to exfiltrate data. PHP 8.0 introduced stricter string-to-int comparison semantics (RFC: Saner string to number comparisons), which is why the bug is gated to PHP < 8.0 runtimes.

Know when Clearsale Total gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Network unauthenticated, but AC:H because exploitation requires the target to run PHP < 8.0; impact limited to confidentiality via data exfiltration from UPDATE-based SQLi.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The ClearSale Total WordPress plugin (all versions through 3.4.2) contains an unauthenticated SQL injection vulnerability allowing remote attackers to extract sensitive database contents without authentication. Any organization operating this plugin faces immediate data breach risk, with particular exposure to customer payment and fraud-prevention records. No vendor patch is currently available, requiring urgent interim defensive measures.

Business Impact: High
Compensating Controls

Until vendor patch is released: (1) Disable plugin if operationally feasible; (2) Deploy WAF rules to block SQL injection patterns in pagseguro[metodo] parameter; (3) Implement database query monitoring and alerts for unusual activity; (4) Apply least-privilege database access controls; (5) Monitor and block POST requests to clearsale_total_push AJAX action with suspicious parameter encoding; (6) Enable WordPress security logging for AJAX handler access.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche Brazilian payment anti-fraud WordPress plugin
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy