CVE-2025-64374
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-64374 is a critical Unrestricted File Upload vulnerability (CWE-434) in the Motors WordPress theme by StylemixThemes, allowing authenticated attackers to upload and execute malicious files. It affects all versions of the Motors theme up to and including 5.6.81. The vulnerability was published on December 18, 2025, and was assigned by Patchstack. It carries a CVSS v3.1 base score of 9.9 (Critical) (Feedly, Patchstack).

Technical details

The root cause is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), meaning the Motors theme fails to properly validate or restrict the file types that authenticated users can upload. An attacker with low-privilege credentials (e.g., a subscriber or contributor account) can upload a file with a dangerous type — such as a PHP web shell — through the theme's file upload functionality. Because the scope is marked as Changed in the CVSS vector, successful exploitation can impact resources beyond the vulnerable component itself, such as the underlying web server and other hosted sites. No specific technical write-up or PoC code has been publicly released at this time (Feedly, Patchstack).

Impact

Successful exploitation grants an attacker the ability to upload and execute arbitrary code on the web server, resulting in full compromise of confidentiality, integrity, and availability. An attacker could deploy a web shell to gain persistent remote access, exfiltrate sensitive data (including WordPress database credentials), deface the site, or use the compromised server as a pivot point for lateral movement within the hosting environment. With approximately 20,000 active installations of the Motors theme, the potential attack surface is significant (Patchstack, Infosecurity Magazine).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Motors theme (versions ≤ 5.6.81) via tools like WPScan, Shodan, or by inspecting page source for theme indicators.
  2. Obtain low-privilege credentials: Register or obtain a low-privilege WordPress account (e.g., subscriber role) on the target site, or use previously compromised credentials.
  3. Locate the vulnerable upload endpoint: Navigate to the theme's file upload functionality within the WordPress dashboard or identify the relevant AJAX/REST API endpoint that handles file uploads without proper type validation.
  4. Craft malicious upload request: Prepare a PHP web shell file (e.g., shell.php) and submit it via the vulnerable upload mechanism, bypassing any client-side restrictions.
  5. Execute the web shell: Access the uploaded file via its public URL on the server (e.g., https://target.com/wp-content/uploads/shell.php) to achieve remote code execution and establish persistent access (Patchstack, Infosecurity Magazine).

Indicators of compromise

  • File System: Unexpected PHP files (e.g., shell.php, cmd.php) in WordPress upload directories such as wp-content/uploads/ or theme-specific subdirectories; newly created files with unusual names or extensions in web-accessible directories.
  • Logs: Web server access logs showing POST requests to WordPress upload endpoints (e.g., /wp-admin/admin-ajax.php) followed by GET requests to newly created PHP files in upload directories; requests from unusual IP addresses to theme-specific upload handlers.
  • Network: Outbound connections from the web server process to unknown external IPs or C2 infrastructure; unusual DNS lookups originating from the web server.
  • Process: Unexpected child processes spawned by the web server (e.g., Apache/Nginx/PHP-FPM) such as bash, curl, wget, or python; unusual cron jobs added under the web server user account.

Mitigation and workarounds

StylemixThemes has released a patched version of the Motors theme; users should update to version 5.6.82 or later immediately. Site administrators who cannot update immediately should consider temporarily disabling the Motors theme or restricting file upload capabilities via a Web Application Firewall (WAF) rule. Additionally, limiting WordPress user registrations and reviewing existing user accounts for unauthorized low-privilege accounts is recommended as a precautionary measure (Patchstack, Infosecurity Magazine).

Community reactions

Patchstack published a dedicated article highlighting the critical severity of this vulnerability and its potential impact on approximately 20,000 WordPress sites using the Motors theme, emphasizing the risk of complete site takeover (Patchstack). Infosecurity Magazine covered the story, noting the site takeover risk posed by the flaw (Infosecurity Magazine). The vulnerability was also included in The Hacker News weekly security recap, indicating broader industry awareness (The Hacker News).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13147CRITICAL9.1
  • kirki
NoYesJul 20, 2026
CVE-2026-9833HIGH7.1
  • tag-groups
NoYesJul 20, 2026
CVE-2026-13432MEDIUM5.4
  • image-sizes
NoYesJul 20, 2026
CVE-2026-13156MEDIUM5.4
  • mailersend-official-smtp-integration
NoYesJul 20, 2026
CVE-2026-8825MEDIUM4.9
  • elementor
NoYesJul 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management