PHP forms generated using the PHP FormMail Generator are vulnerable to stored cross-site scripting and unrestricted upload of dangerous file types.
PHP FormMail Generator is a website that generates PHP form code for inclusion in a PHP-based or Wordpress-based website. The code generated by the website prior to 17 December 2016 is vulnerable to the following:
CWE-434: Unrestricted Upload of File with Dangerous Type - CVE-2016-9492
An unauthenticated remote attacker may be able to conduct stored XSS attacks against the form administrator, or possibly execute PHP code on the server if the attacker can guess the uploaded filename.
A full solution is not currently known, however users may consider the following.
PHP FormMail Generator
Thanks to Ibram Marzouk for reporting this vulnerability.
This document was written by Garret Wassermann.