ShopLentor custom-action callback permits arbitrary PHP function execution
ShopLentor through 3.3.7 exposes the woolentoropt/v1/custom-action REST endpoint to authenticated Administrators. Its handle_action() method passes the attacker-controlled callback parameter directly to call_user_func() without an allowlist. An Administrator can therefore invoke arbitrary callable PHP functions with potentially complete confidentiality, integrity and availability impact. The CNA does not disclose the HTTP method or supported callback arguments.
- Component
- ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin
- Plugin slug
woolentor-addons- Affected
- <= 3.3.7
- Safe version
> 3.3.7- Published
- Aug 05, 2026
- Weakness
- CWE-470
This CVE was published Aug 05, 2026 and is one of 18 known issues for this plugin.
Update, patch or deactivate.
Update ShopLentor to a release after 3.3.7. The authoritative record links a trunk allowlisting correction but does not identify the first fixed release. Audit Administrator accounts and custom-action REST requests and investigate unexpected PHP or filesystem activity.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H