CVE-2026-90896 Details
Description
Missing Authentication for Critical Function (CWE-306) in the checkout session lookup handler (src/app/api/stripe/checkout_sessions/route.ts), exposed at GET /api/stripe/checkout_sessions, in MarcosCamara01 Ecommerce Template before commit 91e273c allows a remote, unauthenticated attacker holding a valid Stripe Checkout Session id (cs_...) to retrieve the full session object, including the buyer's name, email, phone, billing address, amount paid and internal userId, because the GET handler calls stripe.checkout.sessions.retrieve() and returns the result without checking for an authenticated session or session ownership. Sibling endpoints such as POST /api/stripe/payment already enforced authentication via auth.api.getSession(); this endpoint had no access control whatsoever. The session_id is exposed in the buyer's own browser URL after payment (success_url = /result?session_id={CHECKOUT_SESSION_ID}), so it leaks through Referer headers, analytics tools, server access logs and shared-machine browser history, resulting in disclosure of the buyer's personal data to an unauthenticated actor.
A vulnerability exists in the Ecommerce Template's Stripe checkout session lookup endpoint, specifically in versions prior to commit 91e273c. This vulnerability allows remote, unauthenticated attackers to access sensitive buyer information by exploiting the lack of authentication and ownership checks in the checkout session retrieval process. The endpoint inadvertently exposes personal data such as the buyer's name, email, phone number, billing address, amount paid, and internal user ID. The issue arises because the GET handler retrieves the full checkout session object from Stripe without verifying the authenticity of the request or the ownership of the session. This flaw is particularly concerning as the session ID, required for exploitation, is leaked through the buyer's URL after payment, potentially disclosing personal information to unauthorized parties via Referer headers, analytics tools, server logs, and shared browser history.
Users should upgrade to a version that includes commit 91e273c, which is available on the master branch of the Ecommerce Template repository. The fix implements necessary authentication and ownership checks before returning checkout session data.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 14, 2026CISA-ADP
Assessed Sep 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MarcosCamara01/ecommerce-template/commit/91e273c69d976a3d205179e66e01fc399bfdd08b | Secur0 | Source CodeVendor |
| https://secur0.com/en/cna/cve-list/cve-2026-90896-missing-authentication-ecommerce-template-checkout-session-pii | Secur0 | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | Secur0 |
Affected Products
| Product | Versions |
|---|---|
| MarcosCamara01 Ecommerce Template | < 91e273c |
CPE
Remediation | |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 15, 2026 | CVE Modified | CISA-ADP |
| Sep 14, 2026 | New CVE Received | Secur0 |
Volerion