CVE-2026-42207
MEDIUM 6.1CVSS 3.1Magento LTS Vulnerable to Open Redirect via Unvalidated `uenc` Parameter in `stockAction()`
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.
- Published
- 15 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-qpgq-5g92-j5q8
- Sources
- NVDJSONOSV GHSA-qpgq-5g92-j5q8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | openmage/magento-lts | < 20.18.0 | 20.18.0 |
References
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qpgq-5g92-j5q8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42207 · ADVISORY
- https://github.com/OpenMage/magento-lts · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)