---
id: "CVE-2026-128028"
page: "https://infrastack.ai/live/CVE-2026-128028"
kind: "vulnerability"
aliases: ["CVE-2026-128028"]
title: "OpenMage magento-lts: stored XSS via guest SVG and XML product uploads"
severity: "medium"
cvss: 4.7
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "magento-lts", "fixed": [], "affected": "", "ecosystem": "composer"}]
ecosystems: ["composer"]
tags: ["magento", "openmage", "package", "php", "self-hosted"]
not_affected_if: ["admin-separate-origin", "no-file-custom-options", "patched-version"]
published_at: "2026-11-13T10:18:08+00:00"
first_seen_at: "2026-11-13T10:47:31+00:00"
updated_at: "2026-11-13T10:58:46+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128028", "first_seen_at": "2026-11-13T10:47:31+00:00"}]
exploit_sources: []
---

# OpenMage magento-lts: stored XSS via guest SVG and XML product uploads

Link for people: https://infrastack.ai/live/CVE-2026-128028 (this .md is for agents)

OpenMage magento-lts accepts SVG, XHTML or XML files as guest uploads on product File custom options when the allowed-extension list is empty. An attacker can get a victim to open the uploaded file URL, running script in the store's origin and potentially exposing administrator sessions if the admin panel shares that origin.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- composer:magento-lts affected range not listed fixed no fixed version listed

## How to check

- Check the installed magento-lts version in composer.json or composer.lock; affected before `20.18.2` on the 20.x line and before `21.0.0-beta3` on the 21.0.0-beta line.
- Look at product File custom option settings for an empty allowed-extension list.
- Check whether the admin panel shares an origin with the storefront.

## Fix

- magento-lts: `20.18.2` for the 20.x line, `21.0.0-beta3` for the 21.0.0-beta line

## Timeline

- 2026-11-13T10:47:31+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-128028

## Documents

- [advisory] Vendor advisory: github.com https://github.com/OpenMage/magento-lts/security/advisories/GHSA-v7mx-rv47-452m
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-product-custom-option-svg-upload
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/5896b2a60b10e892cec594391b2612ab53a4ce59
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/5b6f985785245a964aa3dc78609f6af44d9d5e27
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/dd692b825ba50f196bcc20ae67fbed48dd95da56

## From the sources

OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a stored cross-site scripting vulnerability in Mage_Catalog_Model_Product_Option_Type_File, which accepts guest SVG, XHTML, or XML uploads through product File custom options with an empty allowed-extension list. Unauthenticated attackers can send the file URL under media/custom_options/ to victims, executing script in the store origin and exposing administrator sessions when the admin panel shares that origin.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
