# CVE-2026-42207: Magento LTS: Open Redirect via Unvalidated `uenc` Parameter in `stockAction()` - magento-lts

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T20:11:21.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-qpgq-5g92-j5q8
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OpenMage magento-lts: < 20.18.0
- openmage/magento-lts (Packagist): before 20.18.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qpgq-5g92-j5q8> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42207> (advisory)
- <https://github.com/OpenMage/magento-lts> (package)

## Sources

- CVE List: [CVE-2026-42207](https://www.cve.org/CVERecord?id=CVE-2026-42207), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-qpgq-5g92-j5q8](https://github.com/advisories/GHSA-qpgq-5g92-j5q8), CC-BY-4.0, modified 2026-05-16
- NVD: [CVE-2026-42207](https://nvd.nist.gov/vuln/detail/CVE-2026-42207), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42207 · Whole record: https://cve.day/CVE-2026-42207.json · Rebuilt by cve.day 2026-11-25T22:59:21.821Z
