Vulnerability Description
External Control of Assumed-Immutable Web Parameter (CWE-472) in the cart and checkout flow of MarcosCamara01 Ecommerce Template allows an authenticated user with no special privileges to be charged the price of one product while placing an order for another, because POST /api/user/cart accepts variantId, which determines what the order records, and stripeId, which determines what Stripe charges, as two independent fields of the request body, stores both on the cart row, and no check requires the stripeId to be the one that belongs to the variantId. POST /api/stripe/payment builds the Stripe Checkout line items from the stored value, as { price: item.stripeId, quantity }, so the amount charged is the amount of that Stripe price. The checkout.session.completed webhook then creates the order products from the variantId of the same cart row, so the order records a product that was not paid for. Every stripeId in the catalogue is readable by any visitor, so no value has to be guessed. This results in orders for goods at the price of the cheapest item in the catalogue, repeatable without limit, and in order records whose amount does not correspond to the product they list.
Related Weaknesses (CWE)
References
- https://github.com/MarcosCamara01/ecommerce-template/commit/e6b364cd668f2ba875cf
- https://secur0.com/en/cna/cve-list/cve-2026-115450-price-manipulation-stripe-che
FAQ
What is CVE-2026-115450?
CVE-2026-115450 is a documented vulnerability. External Control of Assumed-Immutable Web Parameter (CWE-472) in the cart and checkout flow of MarcosCamara01 Ecommerce Template allows an authenticated user with no special privileges to be charged t...
How severe is CVE-2026-115450?
CVSS scoring is not yet available for CVE-2026-115450. Check NVD for updates.
Is there a patch for CVE-2026-115450?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.