CVE-2016-9493 PHP forms generated using the PHP FormMail Generator are vulnerable to stored cross-site scripting
Attackers can execute arbitrary PHP code via stored XSS in generated forms due to incomplete file extension filtering.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2016-9493?
CVE-2016-9493 is a medium-severity cross-site scripting vulnerability in PHP FormMail Generator, published on 13 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The code generated by PHP FormMail Generator prior to 17 December 2016 is vulnerable to stored cross-site scripting. In the generated form.lib.php file, upload file types are checked against a hard-coded list of dangerous extensions. This list does not include all variations of PHP files, which may lead to execution of the contained PHP code if the attacker can guess the uploaded filename. The form by default appends a short random string to the end of the filename.
Which versions are affected by CVE-2016-9493?
It affects 1 product.
Products include Jqueryform Php Formmail Generator.
How do I fix CVE-2016-9493?
No fix has been published for CVE-2016-9493 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2016-9493 being exploited?
There is no known exploitation of CVE-2016-9493 in the wild and no public exploit code.
Other vulnerabilities in PHP FormMail Generator
Sources
Also known as GHSA-597c-6vf9-vpc4.