CVE-2017-7204 imdbphp Cross-Site Scripting (XSS)
An attacker can execute arbitrary HTML and script code in a user's browser via insufficient input filtering in the search functionality.
- 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
- Available
What is CVE-2017-7204?
CVE-2017-7204 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Mar 2017. 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
A Cross-Site Scripting (XSS) was discovered in imdbphp 5.1.1. The vulnerability exists due to insufficient filtration of user-supplied data (name) passed to the "imdbphp-master/demo/search.php" URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
Weakness: CWE-79
Which versions are affected by CVE-2017-7204?
2 open source packages ship an affected version, including imdbphp/imdbphp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
imdbphp/imdbphp Packagist | All versions | 5.2.0 |
imdbphp/imdbphp Packagist | All versions | 5.2.0 |
Products include Imdbphp Project Imdbphp.
How do I fix CVE-2017-7204?
Upgrade imdbphp/imdbphp to 5.2.0 or later.
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-2017-7204 being exploited?
There is no known exploitation of CVE-2017-7204 in the wild and no public exploit code.
Sources
Also known as GHSA-8jxq-gpmr-h4g4.