{"id":"CVE-2026-42207","published":"2026-05-15T17:06:40Z","modified":"2026-05-15T17:50:25Z","title":"Magento LTS: Open Redirect via Unvalidated `uenc` Parameter in `stockAction()` - magento-lts","vendor":"OpenMage","product":"magento-lts","tier":"tail","description":{"text":"Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to 20.18.0, Mage_ProductAlert_AddController::stockAction() reads the uenc query parameter and passes it directly to $this->_redirectUrl($backUrl) without calling $this->_isUrlInternal(). When the supplied product_id does not match any catalog product, the server issues an unvalidated HTTP 302 redirect to whatever URL was provided as uenc. This vulnerability is fixed in 20.18.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00175,"percentile":0.07229,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qpgq-5g92-j5q8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":1.45},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"openmage","affectedVersions":[{"vendor":"OpenMage","product":"magento-lts","versions":["< 20.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T17:50:03.433120Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"openmage/magento-lts","vulnerableRanges":["<20.18.0"],"patched":["20.18.0"],"from":["GHSA-qpgq-5g92-j5q8"],"provenance":"source"}],"summary":{"text":"The magento-lts product from OpenMage has an open redirect flaw in the stockAction() method of Mage_ProductAlert_AddController, where the uenc query parameter is passed straight into a server-side redirect without checking that the target is internal. An attacker can craft a link that, when the victim visits it with an invalid product_id, causes the server to send an HTTP 302 redirect to any URL of the attacker's choosing, which requires the victim to click or follow the crafted link and no authentication or network position.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:48Z"},"euvd":{"id":"EUVD-2026-30570","exploited":false,"provenance":"source"}}