WordPress Plugin Vulnerabilities

MW WP Form < 5.1.1 - Unauthenticated Arbitrary File Move via move_temp_file_to_upload_dir

Description

The plugin 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. 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.

Affects Plugins

Fixed in 5.1.1

References

Classification

Type
LFI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
ISMAILSHADOW
Verified
No

Timeline

Publicly Published
2026-04-01 (about 1 month ago)
Added
2026-04-01 (about 1 month ago)
Last Updated
2026-04-01 (about 1 month ago)

Other