Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload malicious file via form
-
DeliveryExploit path validation bypass in generate_user_filepath
-
ExploitMove arbitrary file using move_temp_file_to_upload_dir
-
ExecutionReplace wp-config.php or inject webshell
-
ImpactExecute arbitrary code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | MW WP Form plugin versions up to 5.1.0 with a form containing a file upload field AND the 'Saving inquiry data in database' option enabled. Unauthenticated remote attacker can exploit without user interaction. Arbitrary file movement leads to RCE via wp-config.php manipulation. |
| Impact | Real-world risk is HIGH despite the high attack complexity designation (AC:H) in the CVSS vector. The unauthenticated attack vector (AV:N, PR:N) with no user interaction (UI:N) requirement makes this exploitable remotely without credentials, significantly lowering the barrier to exploitation. The AC:H rating reflects preconditions (file upload field existence and database storage enabled), but these are common configurations for contact forms collecting attachments. The impact severity is maximum across all CIA triad components (C:H/I:H/A:H), justified by the remote code execution outcome. While no EPSS score or KEV status was provided to confirm active exploitation patterns, Wordfence's public documentation with exact source code line references substantially reduces discovery difficulty for threat actors. The WordPress ecosystem's large attack surface and automated scanning prevalence means vulnerable installations will likely be identified and exploited once proof-of-concept code circulates. Organizations using MW WP Form with file upload capabilities face immediate risk and should prioritize remediation. The SSVC framework would likely categorize this as automatable with high technical impact, warranting urgent action despite the conditional preconditions. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a WordPress site running MW WP Form 5.1.0 with a contact form configured for file uploads and database inquiry storage. The attacker crafts a malicious HTTP request to the form submission endpoint, manipulating file path parameters in the 'generate_user_filepath' function to traverse directories and target wp-config.php. By exploiting insufficient validation in 'move_temp_file_to_upload_dir', the attacker relocates wp-config.php from the WordPress root to the wp-content/uploads directory, making database credentials readable via direct HTTP request. Alternatively, the attacker moves a legitimate uploaded file containing PHP webshell code to a location where it can be executed directly (such as the active theme directory), achieving immediate remote code execution with web server privileges. The high attack complexity reflects the need for specific form configurations, but once identified, exploitation is straightforward with direct network access and no authentication barriers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Arbitrary file movement in MW WP Form plugin for WordPress (all versions ≤5.1.0) allows unauthenticated remote attackers to relocate server files and achieve remote code execution by moving critical files like wp-config.php. Exploitation requires a form with file upload capability and database inquiry storage enabled. CVSS 8.1 with network attack vector and high attack complexity. EPSS data not provided; no public exploit or CISA KEV status identified at time of analysis, though Wordfence threat intelligence has documented the vulnerability with source code references.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed from provided data. Administrators should immediately check for updates to MW WP Form plugin beyond version 5.1.0 through the WordPress plugin repository and apply the latest available version. As an interim mitigation, disable the 'Saving inquiry data in database' option in MW WP Form settings to eliminate the vulnerable code path, though this may impact form data retention requirements. Alternatively, temporarily disable file upload fields on forms using this plugin until patching is complete. Organizations should audit web server file permissions to ensure wp-config.php and other critical WordPress core files are not writable by the web server process, implementing defense-in-depth against file movement attacks. Monitor web server logs for unusual file access patterns or modifications to core WordPress files. Review forms created with MW WP Form to identify which installations meet exploitation preconditions (file upload enabled with database storage). Consult the WordPress plugin repository changelog and Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/194ee4a0-87c3-42e5-9676-8dd355838b78 for updated remediation guidance and confirmed patch versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from inadequate path validation (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) in two functions within the MW WP Form plugin: 'generate_user_filepath' and 'move_temp_file_to_upload_dir'. The plugin, identified by CPE cpe:2.3:a:inc2734:mw_wp_form, processes file uploads through forms and conditionally saves inquiry data to the database. When both file upload fields are present and the database storage option is active, attackers can manipulate file path parameters to move files outside intended directories. The vulnerability manifests in the Main controller class (class.main.php line 271) and Directory model class (class.directory.php line 138), where insufficient sanitization of user-controlled file paths enables path traversal. By moving security-critical files like WordPress configuration files (wp-config.php) to web-accessible directories, attackers can read database credentials or overwrite files with malicious PHP code, converting a file movement primitive into full remote code execution.
Know when Mw Wp Form gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The MW WP Form plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation via the 'generate_user_filepath' function and the 'move_temp_file_to_upload_dir' function in all versions up to, and including, 5.1.0. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php). The vulnerability is only exploitable if a file upload field is added to the form and the “Saving inquiry data in database” option is enabled.
Executive ViewAI
MW WP Form plugin versions 5.1.0 and below contain an arbitrary file movement vulnerability that enables unauthenticated attackers to relocate critical WordPress configuration files and execute arbitrary code on affected servers. Organizations running WordPress with this plugin face immediate risk of site compromise and data breach, particularly if file upload forms are publicly accessible.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately remove or disable the vulnerable plugin; (2) restrict HTTP access to /wp-content/plugins/mw-wp-form/ directory via .htaccess or web server configuration; (3) disable file upload capabilities in all MW WP Form instances; (4) disable database inquiry storage feature in plugin settings; (5) implement Web Application Firewall rules to block file movement operations; (6) maintain file integrity monitoring on wp-config.php and other critical WordPress files; (7) conduct full server audit for evidence of prior exploitation (file movement logs, unauthorized file location changes).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Mw Wp Form
View allThe MW WP Form plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in
Unrestricted upload of file with dangerous type exists in MW WP Form versions v4.4.2 and earlier, which may allow a remo
Directory traversal vulnerability in MW WP Form versions v4.4.2 and earlier allows a remote unauthenticated attacker to
Shortcode injection in MW WP Form WordPress plugin (versions before 5.1.5) allows unauthenticated remote attackers to ex
The MW WP Form plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 5.0.3
Arbitrary file manipulation in MW WP Form plugin (WordPress) versions ≤5.1.1 allows unauthenticated attackers to move se
Stored XSS in the MW WP Form WordPress plugin (all versions before 5.1.6) lets authenticated users holding the Editor ro
Stored cross-site scripting in the MW WP Form plugin for WordPress (all versions up to and including 5.1.7) lets an unau
Reflected or stored Cross-Site Scripting in the MW WP Form WordPress plugin (versions <= 5.1.3) allows remote unauthenti
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in websoudan MW WP Fo
EUVD-2026-18124
GHSA-2mhf-8wh4-g2p3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB