The MW WP Form plugin for WordPress is vulnerable to...
High severity
Unreviewed
Published
Apr 2, 2026
to the GitHub Advisory Database
•
Updated Apr 2, 2026
Description
Published by the National Vulnerability Database
Apr 2, 2026
Published to the GitHub Advisory Database
Apr 2, 2026
Last updated
Apr 2, 2026
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.
References