CVE-2026-42458: Magento LTS: Reflected XSS - Import -> Data Flow (profiles)
A reflected XSS vulnerability was found under admin panel - System - Import/Export - Dataflow - Profiles. Steps to produce + Login to the admin panel + Go to the path System - Import/Export - Dataflow - Profiles + Select profile direction as Import. + Click on Import Customers + Upload the file. File Link: customer20260212204335.csv + Go back to Run profile. + Select the uploaded file and Click on Run in Popup.
Published May 6, 2026 · Updated May 15, 2026
Affected packages
openmage/magento-lts
- Ecosystem
- Composer (PHP)
- Affected
- <= 20.17.0
- Fixed in
- 20.18.0
- Check
composer show openmage/magento-lts
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A reflected XSS vulnerability was found under admin panel -> System -> Import/Export -> Dataflow - Profiles.
Steps to produce
- Login to the admin panel
- Go to the path
System -> Import/Export -> Dataflow - Profiles
- Select profile direction as
Import.
- Click on
Import Customers
- Upload the file.
File Link: customer_20260212_204335.csv
- Go back to
Run profile.
- Select the uploaded file and Click on
Run in Popup.
- One can see a URL like this
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/import-20260215151125-1_customer_20260212_204335.csv/- One can see the filename getting reflection in HTML tags.
- Inject an HTML tag and observe.
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/"><h3>hacked</h3>/- One can see the tag is getting executed.
- Proceed for XSS.
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/%3CScRiPt%20%3Eprompt(document.cookie)%3C%2FScRiPt%3E- There is an XSS popup.
Impact
Cookie stealing, JS deface, many more
Credited to justlife4x4.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-42155
Magento LTS has Weak API Session ID — Predictable MD5 of Time-Derived Inputs
critical9.3May 5, 2026CVE-2026-42207
Magento LTS Vulnerable to Open Redirect via Unvalidated `uenc` Parameter in `stockAction()`
medium6.1May 5, 2026CVE-2026-25524
OpenMage LTS: Phar Deserialization leads to Remote Code Execution
high8.1Apr 21, 2026CVE-2026-25525
OpenMage LTS has a Path Traversal Filter Bypass in Dataflow Module
medium4.9Apr 21, 2026CVE-2026-40098
OpenMage LTS: Cross-user wishlist import leads to private option & file disclosure
medium5.4Apr 21, 2026CVE-2026-40488
OpenMage LTS: Customer File Upload Extension Blocklist Bypass → Remote Code Execution
high8.8Apr 21, 2026
