CVE-2017-7204: imdbphp Cross-Site Scripting (XSS)
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.52978%
CWE
Published
5/17/2022
Updated
4/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| imdbphp/imdbphp | composer | <= 5.1.1 | 5.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The XSS vulnerability in imdbphp 5.1.1 stems from direct output of the $_GET['name'] parameter without proper escaping in search.php. While the patch introduced the esc() function to sanitize output, the vulnerable version lacked this mitigation. The root cause is not a specific vulnerable function but rather the absence of output sanitization in template rendering (echo $_GET['name'] in search.php). Since PHP's echo is a language construct and not a function, and the vulnerability arises from missing sanitization logic rather than a flawed function, no specific functions meet the criteria for inclusion.