Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-12493

CVE-2025-12493: Hasthemes Shoplentor RCE Vulnerability

CVE-2025-12493 is a remote code execution flaw in Hasthemes Shoplentor that enables unauthenticated attackers to include and execute arbitrary PHP files on the server. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-12493 Overview

CVE-2025-12493 is a critical Local File Inclusion (LFI) vulnerability affecting the ShopLentor – WooCommerce Builder for Elementor & Gutenberg +21 Modules – All in One Solution (formerly WooLentor) plugin for WordPress. The vulnerability exists in all versions up to and including 3.2.5 and allows unauthenticated attackers to include and execute arbitrary .php files on the server through the load_template function. This can be exploited to bypass access controls, obtain sensitive data, or achieve remote code execution in cases where PHP files can be uploaded and included.

Critical Impact

Unauthenticated attackers can achieve arbitrary PHP code execution on affected WordPress sites, potentially leading to full server compromise, data theft, and website defacement without requiring any authentication.

Affected Products

  • Hasthemes ShopLentor versions up to and including 3.2.5
  • WordPress installations with ShopLentor/WooLentor addon enabled
  • WooCommerce sites using ShopLentor for Elementor or Gutenberg integration

Discovery Timeline

  • 2025-11-04 - CVE-2025-12493 published to NVD
  • 2025-11-26 - Last updated in NVD database

Technical Details for CVE-2025-12493

Vulnerability Analysis

This Local File Inclusion vulnerability stems from insufficient input validation in the load_template function within the ShopLentor plugin. The vulnerable code paths exist in multiple locations within the plugin's codebase, including the AJAX actions handler (class.ajax_actions.php) and the product grid base class (class.product-grid-base.php).

The vulnerability allows remote attackers to manipulate file path parameters to include arbitrary PHP files from the server's filesystem. Since no authentication is required to exploit this vulnerability, any external attacker can target affected WordPress installations. The attack can be executed remotely over the network with low complexity, requiring no user interaction.

Successful exploitation allows attackers to execute arbitrary PHP code within the context of the web server, potentially leading to complete compromise of the WordPress installation and underlying server.

Root Cause

The root cause of this vulnerability is improper input validation in the load_template function. The plugin fails to adequately sanitize or validate user-supplied input before using it to construct file paths for PHP file inclusion. This lack of path traversal prevention allows attackers to escape the intended directory structure and include arbitrary PHP files from anywhere on the filesystem that the web server process has permission to read.

The vulnerability is classified under CWE-22 (Path Traversal), indicating improper limitation of a pathname to a restricted directory. The affected code does not properly validate that the requested template file exists within the expected plugin directory, enabling directory traversal attacks using sequences like ../ to navigate outside the intended scope.

Attack Vector

The attack is network-based and can be executed by unauthenticated users. Attackers can craft malicious HTTP requests to the WordPress AJAX handler, manipulating template path parameters to include arbitrary PHP files. The attack requires no special privileges or user interaction, making it highly exploitable.

The exploitation flow typically involves:

  1. Identifying a WordPress site running a vulnerable version of ShopLentor
  2. Crafting a malicious request to the vulnerable AJAX endpoint
  3. Manipulating the template path parameter to include a malicious or sensitive PHP file
  4. The server includes and executes the specified PHP file

If attackers can upload a PHP file to the server through another means (such as a media upload vulnerability or a file with a .php extension disguised as another format), they can chain this LFI vulnerability to achieve full remote code execution.

Technical details of the vulnerable code paths can be found in the WordPress Plugin Code Reference and Wordfence Vulnerability Analysis.

Detection Methods for CVE-2025-12493

Indicators of Compromise

  • Unusual AJAX requests to WordPress admin-ajax.php containing path traversal sequences (../, ..%2f, etc.)
  • Web server logs showing requests with load_template actions and suspicious file paths
  • Unexpected PHP file access or inclusion errors in WordPress error logs
  • New or modified PHP files appearing in unexpected directories

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block path traversal patterns in request parameters
  • Monitor WordPress AJAX endpoints for suspicious load_template or related action requests
  • Implement file integrity monitoring on WordPress installations to detect unauthorized PHP file modifications
  • Review web server access logs for patterns consistent with LFI exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for WordPress AJAX handlers and review logs regularly
  • Set up alerts for HTTP requests containing path traversal indicators targeting ShopLentor endpoints
  • Monitor for unusual file access patterns in PHP error logs and web server logs
  • Implement real-time file integrity monitoring on critical WordPress directories

How to Mitigate CVE-2025-12493

Immediate Actions Required

  • Update ShopLentor plugin to version 3.2.6 or later immediately
  • Audit WordPress installations for any signs of compromise or unauthorized file modifications
  • Review web server access logs for evidence of exploitation attempts
  • Consider temporarily disabling the ShopLentor plugin if immediate patching is not possible

Patch Information

The ShopLentor development team has released a security patch addressing this vulnerability. The fix is included in WordPress Changeset 3388234. Users should update to the latest version of the plugin through the WordPress admin dashboard or by manually downloading and installing the updated plugin from the WordPress plugin repository.

To update via WordPress admin:

  1. Navigate to Plugins → Installed Plugins
  2. Locate ShopLentor (WooLentor)
  3. Click "Update Now" if an update is available
  4. Verify the plugin version is 3.2.6 or higher after updating

Workarounds

  • Temporarily deactivate the ShopLentor plugin until the patch can be applied
  • Implement WAF rules to block requests containing path traversal patterns targeting ShopLentor endpoints
  • Restrict access to admin-ajax.php from untrusted networks if feasible for your deployment
  • Apply server-level PHP configuration to limit include and require to specific directories using open_basedir
bash
# Example Apache .htaccess rule to block path traversal attempts
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
RewriteCond %{QUERY_STRING} \.\.%2[fF] [NC]
RewriteRule ^wp-admin/admin-ajax\.php$ - [F,L]
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHasthemes Shoplentor

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.37%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • WordPress Plugin Code Reference

  • WordPress Plugin Code Reference

  • WordPress Plugin Code Reference

  • WordPress Plugin Code Reference

  • WordPress Changeset 3388234

  • Wordfence Vulnerability Analysis
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English