{"answers":{"affected":"2 open source packages ship an affected version, including openmage/magento-lts.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42207 exists.","fix":"Upgrade openmage/magento-lts to 20.18.0 or later.","what":"CVE-2026-42207 is a medium-severity vulnerability in OpenMage magento-lts, published on 15 May 2026."},"fix_prompt":"Check this codebase for CVE-2026-42207 and fix it if it is affected.\n\nWhat it is: CVE-2026-42207 is a medium-severity vulnerability in OpenMage magento-lts, published on 15 May 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42207 exists.\n\nAffected packages and fixed versions:\n- openmage/magento-lts (Packagist): affected all versions; fixed in 20.18.0\n- openmage/magento-lts (Packagist): affected all versions; fixed in 20.18.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42207/ (Markdown: https://insights.sbomify.com/CVE-2026-42207/index.md)","id":"CVE-2026-42207","markdown":"https://insights.sbomify.com/CVE-2026-42207/index.md","name":"CVE-2026-42207","record":{"aliases":["GHSA-qpgq-5g92-j5q8"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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-\u003e_redirectUrl($backUrl) without calling $this-\u003e_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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Magento LTS: Open Redirect via Unvalidated `uenc` Parameter in `stockAction()` - magento-lts","id":"CVE-2026-42207","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"BerriAI LiteLLM SQL Injection","id":"CVE-2026-42208"},"packages":[{"ecosystem":"Packagist","fixed":["20.18.0"],"introduced":["0"],"last_affected":[],"package":"openmage/magento-lts","purl":null,"source":"GHSA-qpgq-5g92-j5q8"},{"ecosystem":"Packagist","fixed":["20.18.0"],"introduced":["0"],"last_affected":[],"package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"GHSA-qpgq-5g92-j5q8"}],"prev":{"headline":"Roadiz OpenID Connect nonce generated but never validated — ID token replay attack","id":"CVE-2026-42206"},"products":["magento-lts"],"published":"2026-05-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["OpenMage"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-42207/"}