---
id: "CVE-2026-128053"
page: "https://infrastack.ai/live/CVE-2026-128053"
kind: "vulnerability"
aliases: ["CVE-2026-128053"]
title: "OpenMage magento-lts: error pages let crafted links run script in browsers"
severity: "medium"
cvss: 4.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["magento-lts", "openmage", "package", "php", "self-hosted"]
not_affected_if: ["default-config", "patched-version"]
published_at: "2026-11-13T10:18:11+00:00"
first_seen_at: "2026-11-13T10:47:33+00:00"
updated_at: "2026-11-13T10:58:44+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128053", "first_seen_at": "2026-11-13T10:47:33+00:00"}]
exploit_sources: []
---

# OpenMage magento-lts: error pages let crafted links run script in browsers

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

OpenMage magento-lts prints URLs derived from SCRIPT_NAME on its error pages without escaping them, so a crafted link can make an uncaught exception render attacker script. The script runs in the storefront origin inside the victim's browser, unauthenticated.

_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 release in use; affected before `20.18.2` on the 20.x line and `21.0.0-beta1` through before `21.0.0-beta3` on the 21.x beta line.
- Check whether the server derives SCRIPT_NAME from the request path so that error pages are reachable via crafted URLs.

## Fix

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

## Timeline

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

## Documents

- [advisory] Vendor advisory: github.com https://github.com/OpenMage/magento-lts/security/advisories/GHSA-6pvw-8mv9-r8vr
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-reflected-xss-via-error-pages-script-name
- [fix] Patch: github.com https://github.com/OpenMage/magento-lts/commit/0bcec215c25941f900d46657d63fd0862960edf6

## From the sources

OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a reflected cross-site scripting vulnerability in its error pages, which print SCRIPT_NAME-derived URLs built by errors/processor.php without escaping. Unauthenticated attackers can craft links that trigger uncaught exceptions on servers deriving SCRIPT_NAME from the request path, executing script in the storefront origin within victims' browsers.

---

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