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 phpDefensia 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 dataWAF 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
- Step 1: Check the installed PHP version with: php -v
- 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
- 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
- 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
References
- https://plugins.trac.wordpress.org/browser/woolentor-addons/trunk/classes/class.ajax_actions.php#L213
- https://plugins.trac.wordpress.org/browser/woolentor-addons/trunk/classes/class.ajax_actions.php#L241
- https://plugins.trac.wordpress.org/browser/woolentor-addons/trunk/classes/class.ajax_actions.php#L42
- https://plugins.trac.wordpress.org/browser/woolentor-addons/trunk/includes/addons/product-grid/base/class.product-grid-base.php#L378
- https://plugins.trac.wordpress.org/changeset/3388234/
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