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-12813

CVE-2025-12813: WordPress Holiday Class Plugin RCE Flaw

CVE-2025-12813 is a remote code execution vulnerability in the WordPress Holiday Class Post Calendar plugin that allows unauthenticated attackers to execute arbitrary code. This article covers technical details, affected versions, and fixes.

Published: March 11, 2026

CVE-2025-12813 Overview

The Holiday Class Post Calendar plugin for WordPress contains a critical Remote Code Execution (RCE) vulnerability affecting all versions up to and including 7.1. The flaw exists in the contents parameter due to insufficient sanitization of user-supplied data during cache file creation. This vulnerability allows unauthenticated attackers to execute arbitrary code on the server, potentially leading to complete site compromise.

Critical Impact

Unauthenticated attackers can achieve full remote code execution on WordPress sites running vulnerable versions of the Holiday Class Post Calendar plugin, enabling complete server takeover without requiring any authentication or user interaction.

Affected Products

  • Holiday Class Post Calendar plugin for WordPress versions ≤ 7.1
  • WordPress sites utilizing the vulnerable plugin versions
  • Web servers hosting affected WordPress installations

Discovery Timeline

  • 2025-11-11 - CVE-2025-12813 published to NVD
  • 2025-11-12 - Last updated in NVD database

Technical Details for CVE-2025-12813

Vulnerability Analysis

This vulnerability falls under CWE-94 (Improper Control of Generation of Code), commonly referred to as Code Injection. The flaw stems from the plugin's failure to properly sanitize user-controlled input before incorporating it into dynamically generated cache files. When an attacker submits malicious content through the contents parameter, the unsanitized data is written directly to a cache file that the server subsequently processes and executes.

The unauthenticated nature of this vulnerability significantly amplifies its risk profile. Attackers require no prior access, credentials, or user interaction to exploit the flaw. The attack can be executed remotely over the network, making internet-facing WordPress installations particularly vulnerable to automated scanning and exploitation attempts.

Root Cause

The root cause of this vulnerability lies in the absence of input validation and sanitization routines when processing user-supplied data destined for cache file creation. The plugin directly writes the contents of the contents parameter to a PHP cache file without filtering potentially malicious code constructs. This architectural oversight allows attackers to inject arbitrary PHP code that executes within the context of the web server when the cache file is processed.

Attack Vector

The attack leverages the network-accessible nature of WordPress plugins. An attacker sends a crafted HTTP request containing malicious PHP code within the contents parameter. The vulnerable plugin writes this payload to a server-side cache file. Upon cache file execution or inclusion, the injected code runs with the privileges of the web server process, granting the attacker code execution capabilities on the target system.

The vulnerability mechanism exploits the cache file generation process in the plugin. An attacker crafts a malicious request to the plugin endpoint containing PHP code within the contents parameter. When the plugin creates the cache file, the malicious payload is written without sanitization. Subsequent access to this cache file results in arbitrary code execution. For additional technical details, refer to the WordPress Plugin Code Reference and the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-12813

Indicators of Compromise

  • Unexpected PHP files or modified cache files within the plugin directory wp-content/plugins/holiday-class-post-calendar/
  • Web server access logs showing unusual POST requests to plugin endpoints containing encoded PHP code or shell commands
  • Presence of webshells, backdoors, or unfamiliar PHP files in WordPress directories
  • Anomalous outbound network connections originating from the web server process

Detection Strategies

  • Monitor web application firewall (WAF) logs for requests containing PHP code patterns targeting the plugin's endpoints
  • Implement file integrity monitoring on the WordPress installation, particularly the plugin cache directories
  • Deploy endpoint detection and response (EDR) solutions to identify unauthorized process execution by the web server
  • Analyze server logs for requests with suspicious contents parameter values containing base64-encoded data or PHP tags

Monitoring Recommendations

  • Enable detailed logging for WordPress plugin activity and cache file operations
  • Configure real-time alerting for any file creation or modification within the plugin's directory structure
  • Implement behavioral analysis to detect anomalous code execution patterns from web server processes
  • Monitor for privilege escalation attempts or lateral movement following potential exploitation

How to Mitigate CVE-2025-12813

Immediate Actions Required

  • Immediately disable or remove the Holiday Class Post Calendar plugin from all WordPress installations
  • Audit the affected plugin directory for any unexpected or recently modified PHP files
  • Review web server access logs for evidence of exploitation attempts
  • Consider implementing Web Application Firewall (WAF) rules to block requests containing PHP code in parameters

Patch Information

Check the official WordPress plugin repository for an updated version of the Holiday Class Post Calendar plugin that addresses this vulnerability. The Wordfence Vulnerability Report provides additional details on affected versions and remediation guidance. If no patched version is available, consider using an alternative calendar plugin until a security update is released.

Workarounds

  • Remove the Holiday Class Post Calendar plugin entirely until a patched version is available
  • If removal is not immediately possible, restrict access to the plugin's endpoints via .htaccess or web server configuration
  • Implement strict input validation at the web server or WAF level to block requests containing PHP code constructs
  • Consider placing the WordPress installation behind an application-aware reverse proxy with request filtering capabilities
bash
# Example: Block access to the vulnerable plugin via Apache .htaccess
# Place this in wp-content/plugins/holiday-class-post-calendar/.htaccess
<Files "*.php">
    Order Deny,Allow
    Deny from all
    # Allow only WordPress internal requests if absolutely necessary
    # Allow from 127.0.0.1
</Files>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.38%

  • 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
  • WordPress Plugin Code Reference

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-3844: WordPress Breeze Cache Plugin RCE Flaw

  • CVE-2026-6518: WordPress CMP Plugin RCE Vulnerability

  • CVE-2026-5718: WordPress CF7 File Upload RCE Vulnerability

  • CVE-2026-5797: Quiz And Survey Master WordPress RCE 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