CVE-2017-7391: A Cross-Site Scripting (XSS) was discovered in 'Magmi 0.7.22'
CVE-2017-7391 is a medium-severity flaw (CVSS 6.1) affecting magmi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A Cross-Site Scripting (XSS) was discovered in 'Magmi 0.7.22'. The vulnerability exists due to insufficient filtration of user-supplied data (prefix) passed to the 'magmi-git-master/magmi/web/ajax_gettime.php' URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
Why this priority
- EPSS top 5%: very likely to be exploited
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 8.3% (top 5%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2017-04-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: Magmi 0.7.22 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-7391?
magmi: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-7391 being exploited?
CVE-2017-7391 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-7391 affect?
CVE-2017-7391 affects magmi. Severity is medium (CVSS 6.1). A Cross-Site Scripting (XSS) was discovered in 'Magmi 0.7.22'. The vulnerability exists due to insufficient filtration of user-supplied data (prefix) passed to the 'magmi-git-master/magmi/web/ajax_gettime.php' URL. An attacker could execute
How urgent is CVE-2017-7391?
Priority 45/100. EPSS top 5%: very likely to be exploited
Software pages
PHP vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2020-5777 CRITICAL 9.8 UPGRADE MAGMI versions prior to 0.7.24 are vulnerable to a remote authentication bypass due to allowing default creden
- CVE-2020-5776 HIGH 8.8 MITIGATE Currently, all versions of MAGMI are vulnerable to CSRF due to the lack of CSRF tokens
- CVE-2015-2068 MEDIUM 4.3 MITIGATE Multiple cross-site scripting (XSS) vulnerabilities in the MAGMI (aka Magento Mass Importer) plugin for Magent
- CVE-2015-2067 MEDIUM 5.0 MITIGATE Directory traversal vulnerability in web/ajax_pluginconf.php in the MAGMI (aka Magento Mass Importer) plugin f
- CVE-2014-8770 HIGH 9.0 UPGRADE Unrestricted file upload vulnerability in magmi/web/magmi.php in the MAGMI (aka Magento Mass Importer) plugin