A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-12583

CVE-2024-12583: Dynamics 365 Integration RCE Vulnerability

CVE-2024-12583 is a remote code execution flaw in Dynamics 365 Integration plugin for WordPress via Twig SSTI. Authenticated attackers can execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-12583 Overview

CVE-2024-12583 is a Server-Side Template Injection (SSTI) vulnerability in the Dynamics 365 Integration plugin for WordPress. The flaw affects all plugin versions up to and including 1.3.23. The vulnerability resides in the Twig template rendering function, which fails to validate and sanitize user-supplied input. Authenticated attackers with Contributor-level access or above can inject Twig template syntax to execute arbitrary code on the server and read arbitrary files. The issue is tracked under [CWE-1336] (Improper Neutralization of Special Elements Used in a Template Engine).

Critical Impact

Contributor-level attackers can achieve Remote Code Execution and Arbitrary File Read on WordPress sites running the Dynamics 365 Integration plugin, leading to full site compromise.

Affected Products

  • WordPress Dynamics 365 Integration plugin versions 1.0 through 1.3.23
  • WordPress installations with the integration-dynamics plugin enabled
  • Sites granting Contributor-level or higher access to untrusted users

Discovery Timeline

  • 2025-01-04 - CVE-2024-12583 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-12583

Vulnerability Analysis

The Dynamics 365 Integration plugin exposes a Twig shortcode handler that renders user-controlled content through the Twig templating engine. The plugin passes shortcode input directly to the Twig render function without escaping template syntax or restricting available template functions. Twig SSTI vulnerabilities allow attackers to break out of the template context and invoke PHP functions, including those that execute shell commands or read filesystem contents.

Because the rendering occurs server-side within the WordPress PHP runtime, successful exploitation grants code execution under the web server account. Attackers can write web shells, exfiltrate database credentials from wp-config.php, or pivot to other systems. The plugin code path is documented in the WordPress Plugin Code Review.

Root Cause

The root cause is missing input validation and sanitization on the Twig render function within src/Shortcode/Twig.php. The plugin instantiates a Twig environment that does not enforce a sandbox policy, so any user with shortcode authoring privileges can submit raw Twig syntax. Contributors in WordPress can create draft posts containing shortcodes, which triggers the unsafe rendering pipeline.

Attack Vector

An attacker authenticates as a Contributor or higher and creates or edits a post containing a malicious Twig shortcode. When the shortcode is rendered through preview or publication, the Twig engine evaluates the injected template expression. Typical payloads abuse Twig filters and PHP function bindings to reach system, exec, or file_get_contents, achieving code execution or arbitrary file disclosure. The EPSS score of 11.92% places this CVE in the 93rd percentile for exploitation likelihood. Refer to the Wordfence Vulnerability Report for additional exploitation context.

// Code example not available - see referenced advisories for technical details

Detection Methods for CVE-2024-12583

Indicators of Compromise

  • Posts or drafts containing Twig syntax such as {{, }}, {%, or %} authored by Contributor accounts
  • Unexpected PHP processes spawned by the WordPress web server user following post preview events
  • New or modified files in wp-content/uploads/ or plugin directories that resemble web shells
  • Outbound network connections from the WordPress host to unfamiliar IP addresses

Detection Strategies

  • Audit post and draft content for shortcodes containing Twig expressions, particularly from non-administrator accounts
  • Monitor WordPress audit logs for Contributor-level account creation and post edit activity preceding suspicious server behavior
  • Inspect web server access logs for POST requests to wp-admin/post.php followed by GETs returning unexpected response sizes

Monitoring Recommendations

  • Enable file integrity monitoring on the WordPress webroot and plugin directories to flag unauthorized file writes
  • Correlate WordPress authentication events with process execution telemetry on the underlying host
  • Alert on PHP child processes invoking sh, bash, curl, wget, or python from the web server context

How to Mitigate CVE-2024-12583

Immediate Actions Required

  • Update the Dynamics 365 Integration plugin to the version released in WordPress Changeset 3210927 or later
  • Audit all Contributor, Author, and Editor accounts and remove unused or untrusted users
  • Review recently published or drafted posts for Twig syntax and remove malicious content
  • Rotate WordPress secret keys, database credentials, and API tokens stored in wp-config.php if compromise is suspected

Patch Information

The vendor addressed the vulnerability in the plugin update referenced by WordPress Changeset 3210927. The fix introduces input sanitization on the Twig render path. Site administrators should apply the patch through the WordPress plugin management dashboard or by deploying the updated package directly.

Workarounds

  • Deactivate the Dynamics 365 Integration plugin until the patched version is installed
  • Restrict Contributor and higher roles to trusted users only, removing shortcode authoring from untrusted accounts
  • Deploy a Web Application Firewall (WAF) rule to block requests containing Twig template syntax in post body parameters
bash
# Update the plugin via WP-CLI
wp plugin update integration-dynamics

# Verify installed version is later than 1.3.23
wp plugin get integration-dynamics --field=version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDynamics 365

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability11.92%

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

  • WordPress Changeset Update

  • Wordfence Vulnerability Report
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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