Skip to content
Heist/ feed
Back to feed
High

Price manipulation in the Ecommerce Template checkout flow through a client supplied Stripe price identifier

Type: advisorySources: Official CVE List

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.

Products
Ecommerce Template
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-115450
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 03:01 UTC · Revision 2

Source evidence

Price manipulation in the Ecommerce Template checkout flow through a client supplied Stripe price identifier

core-cve · Original source

Published 22 Oct 2026, 15:13 UTC

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.

cve:CVE-2026-115450

Ecommerce Template

Fixed versions: Not specified

Complete source record
{
  "id": "f2c25f434021fd29eab1dab49f8451dc4d4735faa46e30f5f440946a3e995033",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-115450",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "cve:CVE-2026-115450",
    "products": [
      {
        "name": {
          "value": "Ecommerce Template",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-115450",
      "aliases": [
        "CVE-2026-115450"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "Safety": "NOT_DEFINED",
            "version": "4.0",
            "Recovery": "NOT_DEFINED",
            "baseScore": 7.1,
            "Automatable": "NOT_DEFINED",
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "exploitMaturity": "NOT_DEFINED",
            "providerUrgency": "NOT_DEFINED",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "LOW",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:marcoscamara01:ecommerce-template:*:*:*:*:*:*:*:*"
          ],
          "repo": "https://github.com/MarcosCamara01/ecommerce-template",
          "vendor": "MarcosCamara01",
          "product": "Ecommerce Template",
          "versions": [
            {
              "status": "affected",
              "version": "2aa8ec539b6b441632096ced78e099fb096a57da",
              "lessThan": "e6b364cd668f2ba875cfa7f6d55c63e771715df7",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "src/app/api/user/cart/route.ts",
            "src/app/api/stripe/payment/route.ts"
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-26T11:09:07.323Z",
      "provider": "cve",
      "references": [
        "https://github.com/MarcosCamara01/ecommerce-template/commit/e6b364cd668f2ba875cfa7f6d55c63e771715df7",
        "https://secur0.com/en/cna/cve-list/cve-2026-115450-price-manipulation-stripe-checkout"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "4daa8cea-433a-44bd-9456-53b127fc289a",
          "shortName": "Secur0",
          "dateUpdated": "2026-10-26T11:09:07.323Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-115450",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 289252,
  "published_at": "2026-10-22T15:13:37.089+00:00"
}