critical CVSS 9.8

CVE-2025-12493·PHP vulnerability

The ShopLentor – WooCommerce Builder for Elementor & Gutenberg +21 Modules – All in One Solution (formerly WooLentor) plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.2.5 via the 'load_template' function. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

Severity
critical
Software
PHP
Fixed in
3.2.6
Published
2025-11-04

Affected versions

Until: 3.2.6

Fixed in: 3.2.6

How to fix this CVE

Update the ShopLentor plugin to version 3.2.6 or later, which addresses a local file inclusion vulnerability in the load_template function. If you are running PHP as the underlying language for your WordPress environment, ensure your PHP installation is current and that plugin file integrity is verified after the update. Audit your WordPress plugin directory to confirm no unauthorized PHP files have been uploaded.

sudo dnf upgrade php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST request to wp-admin/admin-ajax.php with 'action=woolentor_' parameter containing 'load_template' and file path traversal sequences (e.g., '../', '..\', or null bytes %00) in query parameters or POST data

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block POST requests to wp-admin/admin-ajax.php where the 'action' parameter contains 'woolentor_' and the request body or query string includes path traversal patterns (../, ..\, %2e%2e/, null bytes). Restrict execution of .php files in uploads directories via web server configuration.

How to check if you are affected

  1. Step 1: Check the installed PHP version with: php -v
  2. Step 2: For WordPress sites, verify the ShopLentor plugin version by checking wp-content/plugins/woolentor-addons/woolentor-addons.php and looking for the 'Version:' header
  3. Step 3: Search web server logs for POST requests to ajax_actions.php with 'load_template' parameter: grep -r 'load_template' /var/log/apache2/ /var/log/nginx/ 2>/dev/null
  4. Step 4: Confirm the fix by checking that the ShopLentor plugin version is 3.2.6 or higher and that the load_template function properly validates and sanitizes file paths

FAQ

What is CVE-2025-12493?

CVE-2025-12493 is a local file inclusion (LFI) vulnerability in the ShopLentor WordPress plugin that allows unauthenticated attackers to include and execute arbitrary PHP files from the server without proper input validation in the load_template function.

Is CVE-2025-12493 being actively exploited?

No, CVE-2025-12493 is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available, though the vulnerability has a critical CVSS score of 9.8.

What versions of ShopLentor are affected by CVE-2025-12493?

All versions of the ShopLentor plugin up to and including version 3.2.5 are vulnerable. Version 3.2.6 and later contain the fix.

How do I check if my server is vulnerable to CVE-2025-12493?

Run: grep -r "Version:" wp-content/plugins/woolentor-addons/woolentor-addons.php | head -1 to check the plugin version, and verify it is below 3.2.6.

Does Defensia detect CVE-2025-12493?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the ShopLentor plugin is installed on a monitored WordPress server, CVE-2025-12493 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-12493. Free for 1 server.

Get started free