Description
WordPress Plugin Contact Form 7 is prone to a vulnerability that lets attackers upload arbitrary files because the application fails to properly verify user-supplied input. An attacker can exploit this vulnerability to upload arbitrary code and run it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible. WordPress Plugin Contact Form 7 version 5.3.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 5.3.2 or latest
References
https://www.jinsonvarghese.com/unrestricted-file-upload-in-contact-form-7/
https://www.exploit-db.com/exploits/49294
https://packetstormsecurity.com/files/160630/WordPress-Contact-Form-7-5.3.1-Shell-Upload.html
https://contactform7.com/2020/12/17/contact-form-7-532/
https://plugins.svn.wordpress.org/contact-form-7/trunk/readme.txt