MW WP Form: Code execution
MW WP Form is affected by code execution. The vulnerable path is reachable without authentication. Successful exploitation can run attacker-controlled code in the WordPress hosting account. The published affected range is <= 5.1.0.
- Component
- MW WP Form
- Plugin slug
mw-wp-form- Affected
- <= 5.1.0
- Safe version
- See mitigation notes
- Published
- Apr 02, 2026
This CVE was published Apr 02, 2026 and is one of 11 known issues for this plugin.
Update, patch or deactivate.
No fixed release is identified. Update MW WP Form when a release after 5.1.0 becomes available; until then, disable and remove it when the site's risk warrants. The official upstream changelog lists version 5.1.4, which is newer than the published affected range. Its changelog does not clearly confirm this specific fix, so it is not counted as a known-safe release.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H