Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister attacker account
-
DeliveryCreate wishlist and generate sharing code
-
ExploitEnumerate or discover victim's wishlist_item_id
-
InstallSend add-to-cart request with attacker's sharing code and victim's item_id
-
C2Endpoint validates sharing code but skips item ownership check
-
ExecuteImport victim item with buyRequest into attacker's cart
-
ImpactAccess victim's custom option data and file metadata
-
Step 8Download victim's uploaded file
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) the attacker must be an authenticated Magento LTS user capable of creating a wishlist and generating a sharing code, (2) the shared wishlist feature must be enabled (default in Magento LTS), (3) a valid sharing_code for the attacker's own wishlist (or any wishlist they can obtain a code for) must be used, (4) the target wishlist_item_id must be guessable or discoverable (numeric sequential IDs are typical), and (5) for file disclosure escalation, the victim's product must have a custom option of type file upload and the download endpoint must not verify file ownership. The vulnerability is limited by the requirement for authenticated access (PR:L in CVSS), preventing unauthenticated enumeration attacks, though this is a relatively low barrier in public e-commerce deployments that permit free registration. Non-default configurations such as disabling the Wishlist module entirely or restricting wishlist sharing to authenticated users only would prevent exploitation. |
| Impact | This vulnerability presents moderate real-world risk with clear limiting factors. The CVSS 5.3 score reflects network accessibility (AV:N) and low attack complexity (AC:L), but critically requires authenticated access (PR:L), which significantly reduces the threat surface compared to an unauthenticated flaw. The attack requires the attacker to already be a registered Magento user with the ability to create a wishlist and obtain a sharing code, then discover or enumerate valid wishlist_item_ids from victim accounts - a multi-step process. Active exploitation status is not confirmed (KEV absence, no POC reference provided), and the attack is opportunistic rather than mass-exploitable without enumeration. The escalation to file disclosure requires additional preconditions: the target product must use file custom options, and the file metadata must be accessible via a non-ownership-bound download endpoint. The CVSS vector lacks populated optional fields (E:X for exploitation ease, RE:X for remediation level), limiting precision, but the low privileges requirement and network vector suggest this is a secondary or chained vulnerability rather than a critical standalone issue. For a typical e-commerce deployment, the risk is moderate-to-low for general data loss but elevated for environments handling sensitive customer data (medical, financial uploads via custom options). Defenders should prioritize patching primarily to prevent the custom-option and file-disclosure paths rather than treating this as an emergency critical flaw. |
| Exploit ScenarioDerived | An attacker registers a Magento LTS account and creates a wishlist, sharing it with a public code. The attacker then discovers or enumerates a wishlist_item_id from a victim's private wishlist (either through information disclosure, timing attacks, or sequential ID guessing). The attacker crafts a request to the add-to-cart endpoint, supplying their valid sharing code paired with the victim's item ID; the endpoint processes the request and imports the victim's item (including private custom options and, if applicable, uploaded files) into the attacker's cart. If the product includes a file custom option, the attacker can access the file metadata and download the file via an ownership-unbound download endpoint, resulting in cross-user file disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Magento LTS prior to version 20.17.0 allows authenticated attackers to access private wishlist items from other users via an authorization bypass in the shared wishlist add-to-cart endpoint. The vulnerability permits an attacker with a valid sharing code for one wishlist to import items from a different victim's wishlist into their cart by manipulating the wishlist_item_id parameter, potentially exposing private custom option data and enabling cross-user file disclosure when file upload custom options are present. CVSS 5.3 (AV:N/AC:L/PR:L) indicates network-accessible exploitation requiring low privileges; patch version 20.17.0 resolves the issue.
RemediationAI
Magento LTS users should upgrade to version 20.17.0 or later immediately to patch the authorization bypass. The vendor fix verifies that wishlist_item_id belongs to the shared wishlist referenced by the sharing_code before processing add-to-cart requests, eliminating the IDOR condition. For users unable to immediately upgrade, implement network-level or application-level mitigations: restrict access to the shared wishlist add-to-cart endpoint (typically /wishlist/shared/add/) to authenticated users only via Web Application Firewall rules, monitor for suspicious patterns of wishlist_item_id enumeration or mismatches between sharing_code and item ownership, and audit wishlist sharing logs for cross-account item imports. If custom options with file uploads are in use, additionally verify file download endpoints enforce ownership checks (not part of this CVE but a correlated risk). Note that these mitigations do not address the underlying logic flaw and should be treated as temporary controls pending patching. Reference the OpenMage security advisory at https://github.com/OpenMage/magento-lts/security/advisories/GHSA-665x-ppc4-685w for detailed patch release notes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Magento LTS is a community-maintained fork of the Magento Community Edition e-commerce platform written in PHP. The vulnerability resides in the shared wishlist add-to-cart endpoint (part of the Wishlist module), which implements a two-parameter authorization model: a public sharing_code that grants access to a specific shared wishlist, and a wishlist_item_id that identifies the product to add to cart. The flaw is a classic insecure direct object reference (IDOR) combined with insufficient cross-reference validation. When processing the add-to-cart request, the endpoint verifies the sharing_code belongs to a valid wishlist but fails to validate that the specified wishlist_item_id actually belongs to that same wishlist. This allows an attacker to supply a valid sharing_code from wishlist A with an item ID from the victim's wishlist B, bypassing ownership checks. The vulnerability is classified as CWE-862 (Missing Authorization), indicating the system fails to enforce authorization policies before performing sensitive operations. The reuse of the victim's stored buyRequest data during import is the attack vector for escalating to custom option disclosure and, when file uploads are involved, cross-user file access due to the download endpoint not being bound to the file owner.
Know when Magento Lts gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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 version 20.17.0, the shared wishlist add-to-cart endpoint authorizes access with a public sharing_code, but loads the acted-on wishlist item by a separate global wishlist_item_id and never verifies that the item belongs to the shared wishlist referenced by that code. This lets an attacker use a valid shared wishlist code for wishlist A and a wishlist item ID belonging to victim wishlist B to import victim item B into the attacker's cart through the shared wishlist flow for wishlist A. Because the victim item's stored buyRequest is reused during cart import, the victim's private custom-option data is copied into the attacker's quote. If the product uses a file custom option, this can be elevated to cross-user file disclosure because the imported file metadata is preserved and the download endpoint is not ownership-bound. Version 20.17.0 patches the issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Magento Lts
View allCross-site request forgery in OpenMage LTS's OAuth authorization flow allows anyone holding valid OAuth consumer credent
Unauthenticated file upload in OpenMage LTS (magento-lts) before 20.18.2 and in the 21.0.0 beta line before 21.0.0-beta3
Account takeover affects OpenMage LTS releases before 20.18.2 and 21.0.0-beta pre-releases before 21.0.0-beta3 because c
Stored cross-site scripting in OpenMage LTS (the Magento 1 community fork) lets an unauthenticated guest plant script in
OAuth 1.0a callback allowlist bypass in OpenMage LTS (magento-lts) allows someone holding a leaked consumer key and secr
Remote code execution in OpenMage Magento LTS versions before 20.17.0 allows authenticated attackers to upload executabl
Stored cross-site scripting in OpenMage LTS (composer package openmage/magento-lts) before 20.18.2 and in the 21.0.0 bet
Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbi
OpenMage LTS fails to end already-open API sessions when an administrator revokes access, so SOAP v1/v2, WS-I, XML-RPC,
Restricted administrators in OpenMage LTS can read decrypted store-configuration secrets - PayPal API credentials, payme
The order-status RSS feed in OpenMage LTS (the community-maintained Magento 1 fork) builds its access key from unsigned
Concurrent checkout submissions against OpenMage LTS (the community Magento 1 LTS fork) can redeem a limited shopping-ca
EUVD-2026-23903
GHSA-665x-ppc4-685w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB