The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2024-13797

CVE-2024-13797: Presslayouts Pressmart RCE Vulnerability

CVE-2024-13797 is a remote code execution vulnerability in Presslayouts Pressmart WordPress theme that allows unauthenticated attackers to execute arbitrary shortcodes. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 8, 2026

CVE-2024-13797 Overview

The PressMart - Modern Elementor WooCommerce WordPress Theme for WordPress contains a critical arbitrary shortcode execution vulnerability affecting all versions up to and including 1.2.16. The vulnerability stems from improper validation of user-supplied input before passing it to the do_shortcode function. This security flaw allows unauthenticated attackers to execute arbitrary shortcodes, potentially leading to complete site compromise.

Critical Impact

Unauthenticated attackers can execute arbitrary shortcodes on vulnerable WordPress installations, potentially enabling remote code execution, data theft, and full site compromise without any authentication.

Affected Products

  • PressMart - Modern Elementor WooCommerce WordPress Theme versions up to and including 1.2.16
  • WordPress installations running the vulnerable PressMart theme
  • WooCommerce sites using PressMart for their storefront

Discovery Timeline

  • 2025-02-18 - CVE-2024-13797 published to NVD
  • 2025-02-21 - Last updated in NVD database

Technical Details for CVE-2024-13797

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The PressMart theme fails to properly validate user-controlled input before passing it to WordPress's do_shortcode() function. In WordPress, shortcodes are special tags that execute PHP code, and when attackers can control which shortcodes are executed, they gain significant control over the WordPress installation.

The attack can be performed over the network without any authentication requirements or user interaction, making it trivially exploitable. Successful exploitation can result in complete compromise of the affected WordPress site, including unauthorized access to sensitive data, modification of site content, and potential execution of arbitrary code on the underlying server.

Root Cause

The root cause of this vulnerability is insufficient input validation in the PressMart theme's shortcode handling mechanism. The theme exposes an action endpoint that accepts user input and directly passes it to WordPress's do_shortcode() function without proper sanitization or validation. This allows attackers to inject malicious shortcode tags that the WordPress core will then execute with full privileges.

WordPress shortcodes can be extremely powerful, with many plugins registering shortcodes that perform privileged operations. By exploiting this vulnerability, attackers can leverage existing shortcodes from WordPress core, WooCommerce, or other installed plugins to perform unauthorized actions.

Attack Vector

The vulnerability is exploitable remotely over the network. An attacker can craft malicious HTTP requests targeting the vulnerable action endpoint in the PressMart theme. Since no authentication is required, any external attacker can exploit this vulnerability by sending specially crafted requests containing arbitrary shortcode payloads.

The attack flow involves identifying the vulnerable endpoint exposed by the PressMart theme, then crafting a request that includes a malicious shortcode string. When the vulnerable code processes this request without proper validation, it passes the attacker-controlled shortcode to do_shortcode(), which then executes the shortcode's associated PHP code. Depending on the shortcodes available on the target system, attackers may be able to read sensitive files, modify database content, create administrative accounts, or achieve remote code execution.

Detection Methods for CVE-2024-13797

Indicators of Compromise

  • Unexpected HTTP requests to PressMart theme AJAX endpoints containing shortcode syntax (e.g., [shortcode] patterns in request parameters)
  • Unusual activity in WordPress access logs showing repeated requests with encoded bracket characters or shortcode-like payloads
  • Creation of unauthorized administrator accounts or unexpected user registrations
  • Modifications to WordPress options, posts, or files that cannot be attributed to legitimate administrative activity
  • Evidence of shortcode execution in error logs or debugging output

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing shortcode injection patterns
  • Monitor WordPress activity logs for signs of unauthorized shortcode execution or unexpected administrative actions
  • Deploy endpoint detection solutions like SentinelOne to identify post-exploitation activity on the web server
  • Review server access logs for suspicious patterns targeting theme-specific endpoints
  • Implement integrity monitoring on critical WordPress files to detect unauthorized modifications

Monitoring Recommendations

  • Enable comprehensive logging for WordPress AJAX requests and theme-specific actions
  • Configure alerting for failed authentication attempts followed by successful administrative actions
  • Monitor for new user account creation, especially accounts with administrator privileges
  • Implement file integrity monitoring for WordPress core files, themes, and plugin directories
  • Review database changes regularly for signs of unauthorized content modification

How to Mitigate CVE-2024-13797

Immediate Actions Required

  • Update the PressMart theme to a version newer than 1.2.16 immediately if a patched version is available
  • If no patch is available, consider temporarily deactivating the PressMart theme and switching to a secure alternative
  • Review WordPress user accounts for unauthorized administrators and remove any suspicious accounts
  • Audit recent site changes for signs of compromise or unauthorized modifications
  • Implement a Web Application Firewall with rules to block shortcode injection attempts

Patch Information

Users should check ThemeForest for updated versions of the PressMart theme that address this vulnerability. The Wordfence Vulnerability Report provides additional details and tracking for this security issue. Contact PresLayouts directly if no patched version is currently available.

Workarounds

  • Restrict access to WordPress admin-ajax.php endpoints using server-level access controls where feasible
  • Deploy a WAF solution such as Wordfence, Sucuri, or Cloudflare with rules configured to detect and block shortcode injection patterns
  • Implement IP-based access restrictions to limit who can reach WordPress AJAX endpoints if your site does not require public AJAX functionality
  • Consider running the WordPress installation in a containerized or sandboxed environment to limit the impact of potential exploitation
  • Enable WordPress security hardening measures and minimize the number of installed plugins to reduce the attack surface from registered shortcodes
bash
# Apache .htaccess example to restrict admin-ajax.php access
# Note: This may break legitimate functionality - test thoroughly
<Files admin-ajax.php>
    Order deny,allow
    Deny from all
    # Allow specific trusted IPs if needed
    # Allow from 192.168.1.0/24
</Files>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPressmart

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.40%

  • 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-94
  • Technical References
  • ThemeForest WordPress Theme Overview

  • Wordfence Vulnerability Report
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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