Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft POST request with malicious mwf_upload_files[] parameter
-
ExploitInject absolute path via unvalidated $name parameter
-
ExecutionBypass path_join() validation logic
-
ImpactMove/read arbitrary files on server
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 | Requires MW WP Form plugin versions up to 5.1.1 installed on WordPress. Remote unauthenticated attacker must craft malicious POST request with mwf_upload_files[] parameter containing absolute path traversal payload. No user interaction needed. |
| Impact | High-severity unauthenticated arbitrary file move vulnerability in widely-used WordPress plugin. CVSS 8.1 reflects high impact (confidentiality, integrity, availability) with moderate attack complexity. No authentication required; exploitation demands form with upload field and database-saving enabled. Direct RCE via wp-config.php relocation creates severe blast radius for vulnerable installations. EPSS data unavailable; severity driven by attack simplicity and RCE potential. |
| Exploit ScenarioDerived | Attacker submits POST request with mwf_upload_files[] parameter containing absolute path (e.g., /var/www/html/wp-config.php). Plugin's path_join() discards base directory, passes absolute path through validation. rename() moves wp-config.php to uploads folder, enabling access or modification for code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Arbitrary file manipulation in MW WP Form plugin (WordPress) versions ≤5.1.1 allows unauthenticated attackers to move sensitive server files into web-accessible directories, enabling remote code execution. The vulnerability stems from insufficient validation of upload field keys in generate_user_file_dirpath(), exploiting WordPress's path_join() behavior with absolute paths. Attackers inject malicious keys via mwf_upload_files[] POST parameter to relocate critical files like wp-config.php. Exploitation requires forms with enabled file upload fields and 'Saving inquiry data in database' option. No public exploit identified at time of analysis.
RemediationAI
Upgrade MW WP Form plugin to version 5.1.2 or later. Vendor-released patch addresses absolute path handling in upload field key validation (https://plugins.trac.wordpress.org/changeset/3501261/mw-wp-form and https://github.com/web-soudan/mw-wp-form/commit/f872ab18ca670f5867b2241745daa30cd0fab861). As interim mitigation for unpatched systems: disable 'Saving inquiry data in database' option in MW WP Form settings or temporarily deactivate plugin until upgrade completes. Review uploads directory for unauthorized wp-config.php or other system files relocated by potential exploitation. Consult vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/bc308993-7fc5-41db-a396-f05e95fe47b8 for additional technical details and detection guidance.
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
CWE-22 path traversal via upload field key injection. The $name parameter passes through _set_request_valiables() into regenerate_upload_file_keys() without absolute path sanitization. WordPress path_join() discards base directory constraints when receiving absolute paths, enabling rename() calls in move_temp_file_to_upload_dir() to relocate arbitrary filesystem resources. Validation succeeds because targeted files exist at specified absolute paths.
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 Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The MW WP Form plugin for WordPress is vulnerable to Arbitrary File Move/Read in all versions up to and including 5.1.1. This is due to insufficient validation of the $name parameter (upload field key) passed to the generate_user_file_dirpath() function, which uses WordPress's path_join() - a function that returns absolute paths unchanged, discarding the intended base directory. The attacker-controlled key is injected via the mwf_upload_files[] POST parameter, which is loaded into the plugin's Data model via _set_request_valiables(). During form processing, regenerate_upload_file_keys() iterates over these keys and calls generate_user_filepath() with the attacker-supplied key as the $name argument - the key survives validation because the targeted file (e.g., wp-config.php) genuinely exists at the absolute path. The _get_attachments() method then re-reads the same surviving keys and passes the resolved file path to move_temp_file_to_upload_dir(), which calls rename() to move the file into the uploads folder. 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.1 and earlier contain a critical vulnerability allowing unauthenticated attackers to move sensitive WordPress configuration files into publicly accessible web directories, potentially leading to complete site compromise and remote code execution. Organizations using this plugin must immediately assess exposure and implement containment measures, as the vulnerability affects any WordPress site with active file upload forms.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable file upload fields in all MW WP Form instances via plugin settings; (2) Restrict POST access to mwf_upload_files[] parameter at WAF/web server level; (3) Configure web server to block direct access to wp-config.php and other sensitive files outside web root; (4) Implement file integrity monitoring on wp-config.php and database files; (5) Apply principle of least privilege to web server process permissions to prevent file movement operations.
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 movement in MW WP Form plugin for WordPress (all versions ≤5.1.0) allows unauthenticated remote attackers
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
MW WP Form 5.1.8 and earlier lets unauthenticated remote attackers overwrite or delete arbitrary WordPress transients in
MW WP Form, a WordPress form plugin, exposes stored inquiry records through its 'post_id' parameter in all versions up t
EUVD-2026-20643
GHSA-44gv-5x3q-67mm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB