CVE-2017-7391: Magmi XSS Vulnerability
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.92125%
CWE
Published
5/17/2022
Updated
9/14/2023
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 |
---|---|---|---|
dweeves/magmi | composer | <= 0.7.22 | 0.7.24 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped output of the 'prefix' parameter in ajax_gettime.php. The GitHub commit a9566b1 shows the fix adds htmlspecialchars() around $_REQUEST['prefix'], confirming the vulnerable code was raw output of user input. The affected line directly echoes the parameter value into the response without sanitization, making it susceptible to XSS when malicious scripts are passed in the prefix parameter.