---
id: CVE-2026-115450
title: >-
  Price manipulation in the Ecommerce Template checkout flow through a client
  supplied Stripe price identifier
summary: >-
  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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-472
vendor: MarcosCamara01
product: Ecommerce Template
affected:
  - >-
    ecommerce_template >= 2aa8ec539b6b441632096ced78e099fb096a57da <
    e6b364cd668f2ba875cfa7f6d55c63e771715df7
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T15:13:37.089Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115450'
references:
  - url: >-
      https://github.com/MarcosCamara01/ecommerce-template/commit/e6b364cd668f2ba875cfa7f6d55c63e771715df7
  - url: >-
      https://secur0.com/en/cna/cve-list/cve-2026-115450-price-manipulation-stripe-checkout
tags:
  - cve.org
ingestedAt: '2026-10-22T22:00:50.282Z'
---

## Overview

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.

## Affected

- `ecommerce_template >= 2aa8ec539b6b441632096ced78e099fb096a57da < e6b364cd668f2ba875cfa7f6d55c63e771715df7`

## Remediation

Update to a revision of the repository that includes commit e6b364cd668f2ba875cfa7f6d55c63e771715df7 of 31 July 2026. The repository publishes no versioned releases and carries no git tags, so the fix can only be identified by commit.
