CVE-2015-2068 — magmi
CVE-2015-2068 is a Cross-site Scripting (XSS) vulnerability in dweeves/magmi. 3 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for dweeves/magmi — see the affected versions and patch details below.
MAGMI cross-site scripting (XSS)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
dweeves/magmiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Multiple cross-site scripting (XSS) vulnerabilities in the MAGMI (aka Magento Mass Importer) plugin for Magento Server allow remote attackers to inject arbitrary web script or HTML via the (1) profile parameter to web/magmi.php or (2) QUERY_STRING to web/magmi_import_run.php.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | dweeves/magmi | all versions | 0.7.22composer require dweeves/magmi:^0.7.22 |
Affected Products
magmimagmi_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Magento Server MAGMI Plugin - Multiple Vulnerabilities
by SECUPENT · Feb 5, 2015
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for dweeves/magmi, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update dweeves/magmi to 0.7.22 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-2068 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
How to detect CVE-2015-2068
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2015-2068 -u https://target- Template
- Magento Server Mass Importer - Cross-Site Scripting
- Severity
- medium
- Impact
- Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected Magento server.
- Remediation
- Apply the latest security patches provided by Magento to fix the XSS vulnerability in the Server Mass Importer module.
Template by ProjectDiscovery nuclei-templates (daffainfo), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2015-2068 in your dependencies?
Find it across Packagist, including transitive dependencies.