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

CVE-2025-12957: WordPress Video Gallery Plugin RCE Flaw

CVE-2025-12957 is a remote code execution vulnerability in the All-in-One Video Gallery plugin for WordPress. Attackers with author-level access can upload malicious files. This article covers affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2025-12957 Overview

The All-in-One Video Gallery plugin for WordPress contains an arbitrary file upload vulnerability affecting all versions up to and including 4.5.7. The vulnerability stems from insufficient file type validation when detecting VTT (Web Video Text Tracks) files, which allows attackers to bypass sanitization using double extension files while the application still accepts them as valid VTT files. This flaw enables authenticated attackers with author-level access or above to upload arbitrary files to the affected server, potentially leading to remote code execution.

Critical Impact

Authenticated attackers can leverage this arbitrary file upload vulnerability to achieve remote code execution on WordPress sites running vulnerable versions of the All-in-One Video Gallery plugin.

Affected Products

  • All-in-One Video Gallery plugin for WordPress versions up to and including 4.5.7

Discovery Timeline

  • 2026-01-16 - CVE CVE-2025-12957 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2025-12957

Vulnerability Analysis

This vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The core issue lies in how the plugin validates uploaded files intended to be VTT subtitle files. The validation mechanism fails to properly handle files with double extensions, such as malicious.php.vtt, allowing an attacker to craft a file that passes the VTT validation check while actually containing executable code.

When a user with author-level privileges or higher attempts to upload a subtitle file, the plugin's validation routine examines the file extension. However, the validation logic is flawed and can be circumvented by appending a .vtt extension to a malicious file (e.g., a PHP web shell). This allows the malicious file to be accepted and stored on the server, where it may subsequently be executed depending on server configuration.

Root Cause

The root cause is insufficient file type validation in the plugin's upload handling functionality. The validation mechanism checks for VTT file extensions but does not properly sanitize or reject files with double extensions. Additionally, the plugin may not adequately verify the actual content type of uploaded files, relying solely on extension-based validation which is inherently insecure.

Attack Vector

The attack requires network access and authentication with at least author-level privileges on the WordPress site. An attacker would craft a malicious file with a double extension (e.g., shell.php.vtt) containing executable code such as a PHP web shell. Upon uploading this file through the plugin's VTT upload functionality, the insufficient validation allows the file to be stored on the server. The attacker can then potentially access the uploaded file directly to execute arbitrary code, depending on the server's configuration and how WordPress handles the uploaded content.

The vulnerability mechanism involves:

  1. An authenticated attacker prepares a malicious payload file with a double extension that ends in .vtt
  2. The plugin's file validation checks for VTT extension and incorrectly accepts the file
  3. The malicious file is uploaded and stored on the server
  4. The attacker accesses the uploaded file path to trigger code execution

For detailed technical information, see the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-12957

Indicators of Compromise

  • Presence of files with suspicious double extensions (e.g., .php.vtt, .phtml.vtt) in WordPress upload directories
  • Unusual file uploads from author or contributor accounts, particularly in the video gallery plugin directories
  • Web server logs showing direct access requests to recently uploaded VTT files with abnormal response sizes or execution times
  • New or modified PHP files in unexpected locations within the WordPress installation

Detection Strategies

  • Implement file integrity monitoring to detect unexpected files in WordPress upload directories
  • Monitor web application firewall (WAF) logs for attempts to upload files with double extensions
  • Review WordPress user activity logs for suspicious upload patterns from lower-privileged accounts
  • Scan for web shells and backdoors in directories used by the All-in-One Video Gallery plugin

Monitoring Recommendations

  • Configure alerting for file uploads with multiple extensions in the WordPress media library
  • Enable detailed logging for the All-in-One Video Gallery plugin's upload functionality
  • Implement real-time monitoring of PHP file creation in upload directories
  • Regularly audit author and contributor account activities for anomalous behavior

How to Mitigate CVE-2025-12957

Immediate Actions Required

  • Update the All-in-One Video Gallery plugin to the latest patched version immediately
  • Audit existing uploaded files in the plugin's directories for suspicious double-extension files
  • Review WordPress user accounts and remove or demote unnecessary author-level privileges
  • Implement additional server-side restrictions to prevent execution of uploaded files

Patch Information

The vendor has released a patch addressing this vulnerability. The fix can be reviewed in the WordPress Plugin Change Log. Site administrators should update to the latest version of the All-in-One Video Gallery plugin through the WordPress dashboard or by downloading the updated plugin directly from the WordPress plugin repository.

Workarounds

  • Temporarily disable the All-in-One Video Gallery plugin until the patch can be applied
  • Restrict author-level access to only trusted users who require the capability
  • Configure the web server to deny execution of PHP files in upload directories
  • Implement strict file upload validation at the web server or WAF level to block double-extension files
bash
# Apache configuration to prevent PHP execution in uploads directory
<Directory "/var/www/html/wp-content/uploads">
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
    php_flag engine off
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.11%

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

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-1830: WordPress Quick Playground RCE Vulnerability

  • CVE-2026-3535: WordPress DSGVO Google Fonts RCE Flaw

  • CVE-2026-4808: WordPress DevApps Plugin RCE Vulnerability

  • CVE-2026-2942: ProSolution WP Client 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