CVE-2026-6020

ShopLentor <= 3.3.7 - Authenticated (Administrator+) Arbitrary Function Execution via 'callback' Parameter via REST API

Strategic Overview

Status
Patched in 3.3.8
Affected Version
<= 3.3.7
CVSS
7.2High
Weakness type
CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
CVE
CVE-2026-6020
View all ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin vulnerabilities

At a glance

CVE-2026-6020 is a high-severity Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in the ShopLentor WordPress plugin, affecting versions <= 3.3.7. It carries a CVSS score of 7.2 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 3.3.8; sites on affected versions should update now. Disclosed August 2026, reported by Itthidej Aramsri (Boeing777).

Vulnerability Overview

The ShopLentor plugin for WordPress is vulnerable to arbitrary function execution via the woolentoropt/v1/custom-action REST API endpoint in all versions up to, and including, 3.3.7. This is due to the handle_action() method passing user-supplied input directly to call_user_func() without an allowlist of permitted callbacks. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute arbitrary PHP callable functions via the 'callback' parameter.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

Remediation

Update to version 3.3.8, or a newer patched version

How WordSec helps

The fix is the thing that ends this: ShopLentor 3.3.8 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C