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
    • 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-37934

CVE-2024-37934: Ninja Forms Code Injection Vulnerability

CVE-2024-37934 is a code injection vulnerability in the Ninja Forms WordPress plugin that enables attackers to execute arbitrary code. This article covers the technical details, affected versions up to 3.8.4, and mitigation.

Published: April 8, 2026

CVE-2024-37934 Overview

CVE-2024-37934 is a critical Code Injection vulnerability affecting the Ninja Forms plugin for WordPress. The vulnerability allows improper control of code generation, enabling attackers to execute arbitrary shortcodes on vulnerable WordPress installations. This flaw exists in Ninja Forms versions up through 3.8.4 and poses a significant risk to WordPress sites utilizing this popular form building plugin.

Critical Impact

Unauthenticated remote attackers can exploit this Code Injection vulnerability to execute arbitrary shortcodes, potentially leading to complete site compromise, data theft, or further malicious code execution on affected WordPress installations.

Affected Products

  • Ninja Forms plugin for WordPress versions through 3.8.4
  • WordPress installations running vulnerable Ninja Forms versions
  • Sites with subscriber-level user access enabled

Discovery Timeline

  • 2024-07-09 - CVE-2024-37934 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-37934

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and enables arbitrary shortcode execution on affected WordPress installations. The flaw allows attackers with subscriber-level access to execute arbitrary WordPress shortcodes through the Ninja Forms plugin. Since shortcodes can trigger various WordPress functions and plugin behaviors, successful exploitation could lead to complete site compromise.

The vulnerability requires network access and can be exploited without user interaction, making it particularly dangerous for publicly accessible WordPress sites. The impact spans confidentiality, integrity, and availability of the affected systems.

Root Cause

The root cause of CVE-2024-37934 lies in improper input validation and sanitization within the Ninja Forms plugin's shortcode handling mechanism. The plugin fails to adequately restrict which shortcodes can be executed, allowing users with subscriber-level privileges to invoke arbitrary shortcodes that should be restricted to administrators.

Attack Vector

The attack can be executed remotely over the network without requiring any user interaction. An attacker with at minimum subscriber-level access to the WordPress site can craft malicious requests that trigger arbitrary shortcode execution through the Ninja Forms plugin. This could be leveraged to:

  • Execute shortcodes from other plugins that perform privileged actions
  • Potentially escalate privileges within the WordPress installation
  • Access sensitive configuration data
  • Manipulate site content and functionality

The vulnerability manifests in the shortcode execution handling within Ninja Forms. For detailed technical analysis, refer to the Patchstack Ninja Forms Vulnerability Analysis.

Detection Methods for CVE-2024-37934

Indicators of Compromise

  • Unusual shortcode execution patterns in WordPress logs
  • Unexpected activity from subscriber-level user accounts
  • Anomalous form submissions or API requests to Ninja Forms endpoints
  • Evidence of shortcode injection attempts in access logs

Detection Strategies

  • Monitor WordPress access logs for suspicious requests targeting Ninja Forms endpoints
  • Implement Web Application Firewall (WAF) rules to detect shortcode injection patterns
  • Audit subscriber and user activity for unusual shortcode-related operations
  • Review Ninja Forms configurations for unexpected changes

Monitoring Recommendations

  • Enable detailed logging for the Ninja Forms plugin
  • Configure alerts for subscriber accounts performing administrative-type actions
  • Monitor for new or modified shortcodes being registered unexpectedly
  • Implement file integrity monitoring on WordPress core and plugin files

How to Mitigate CVE-2024-37934

Immediate Actions Required

  • Update Ninja Forms plugin to the latest patched version immediately
  • Review subscriber-level user accounts for any suspicious activity
  • Audit WordPress logs for evidence of exploitation attempts
  • Consider temporarily disabling the Ninja Forms plugin until patched

Patch Information

Organizations should update Ninja Forms to a version newer than 3.8.4 that addresses this vulnerability. Check the official Ninja Forms changelog and the Patchstack vulnerability database for the specific patched version information.

Workarounds

  • Restrict subscriber registration if not required for business operations
  • Implement additional access controls at the server or WAF level
  • Consider using a security plugin that restricts shortcode execution capabilities
  • Apply the principle of least privilege to all WordPress user accounts
bash
# WordPress CLI command to check Ninja Forms version
wp plugin list --name=ninja-forms --fields=name,version,status

# Update Ninja Forms to latest version
wp plugin update ninja-forms

# Verify the update was successful
wp plugin list --name=ninja-forms --fields=name,version,update_version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNinja Forms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.08%

  • 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
  • Patchstack Ninja Forms Vulnerability Analysis
  • Related CVEs
  • CVE-2026-0740: Ninja Forms File Uploads RCE Vulnerability

  • CVE-2025-9083: Ninja Forms PHP Object Injection Vulnerability

  • CVE-2026-1307: Ninja Forms Information Disclosure Flaw

  • CVE-2026-2268: Ninja Forms Information Disclosure Flaw
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