Vulnerability GHSA-x8jv-q8j2-487c

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
May 06, 2026 at 08:57 PM UTC
Magento LTS: Reflected XSS - Import -> Data Flow (profiles)
1.9.1.1 - 20.17.0
1.9.1.1 - 20.17.0

Summary

Magento LTS: Reflected XSS - Import -> Data Flow (profiles)

Details

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>/
image (3)
  • 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
image (4)
  • There is an XSS popup.

Impact

Cookie stealing, JS deface, many more

Impacted packages

Timeline

Published
6 months ago
May 06, 2026 at 08:57 PM UTC
Fixed (20.18.0)
6 months ago
May 04, 2026 at 07:25 PM UTC
Last Modified
6 months ago
May 16, 2026 at 12:11 AM UTC