---
id: "CVE-2026-128051"
page: "https://infrastack.ai/live/CVE-2026-128051"
kind: "vulnerability"
aliases: ["CVE-2026-128051"]
title: "OpenMage magento-lts: stored XSS via unescaped product names in storefront"
severity: "medium"
cvss: 4.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["magento", "magento-lts", "openmage", "package", "php"]
not_affected_if: ["auth-required", "non-admin-product-editors"]
published_at: "2026-11-13T10:18:10+00:00"
first_seen_at: "2026-11-13T10:47:32+00:00"
updated_at: "2026-11-13T10:58:39+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128051", "first_seen_at": "2026-11-13T10:47:32+00:00"}]
exploit_sources: []
---

# OpenMage magento-lts: stored XSS via unescaped product names in storefront

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

OpenMage magento-lts does not escape product names in the storefront MSRP/MAP popup and Qty Increments notice templates. A user with admin product-edit rights can store a malicious product name that runs script in shoppers' browsers on product, category, and wishlist pages.

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

## How to check

- Check the installed magento-lts version in composer.json or the OpenMage package and compare it with `20.18.2` (stable line) and `21.0.0-beta3` (beta line)
- Review admin accounts that hold product-edit rights and confirm they are trusted

## Fix

- magento-lts: upgrade to `20.18.2` or later on the 20.x line
- magento-lts 21.0.0-beta: upgrade to `21.0.0-beta3` or later

## Timeline

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

## Documents

- [advisory] Vendor advisory: github.com https://github.com/OpenMage/magento-lts/security/advisories/GHSA-hfqq-c3qm-38x8
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-product-name-in-msrp-popup
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/2437b01af99279aa1c6ca5c19f919449b38a5a66
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/64ff7fce3db72cad83e41131bdf48c42ba2ad2f2

## 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 because storefront MSRP/MAP popup and Qty Increments notice templates output product names without proper escaping. Attackers with admin product-edit rights can store a malicious product name that executes script when shoppers view product, category, or wishlist pages.

---

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