critical CVSS 9.8 EPSS 0.70%

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

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.70% — higher than 48% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Read the two together. CVE-2025-12493 scores 9.8 on CVSS, so a successful attack would be serious — but at 0.70%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.

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-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.
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-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
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-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

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