Missing authentication in Ecommerce Template product cache revalidation allows unauthenticated denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306.
Summary
Missing Authentication for Critical Function (CWE-306) in the product cache revalidation Server Action (src/app/actions.ts, revalidateProducts) in MarcosCamara01 Ecommerce Template before commit ec97209 allows a remote, unauthenticated attacker to force expiration of the entire storefront product cache at will. The file declares "use server" at file scope, so every exported function compiles into a POST-invokable Server Action; revalidateProducts calls updateTag("products") with no session or role check, unlike the read-only actions in the same file which are safe by construction. Two client components under src/components/admin import the function, which causes its Server Action id to be compiled into a public /_next/static chunk that the application's admin middleware (proxy.ts) does not gate, so any unauthenticated user can extract that id from the public bundle and invoke the action directly. With cacheComponents enabled, the entire storefront (home, categories, product pages, search) is served from "use cache" entries produced by getAllProducts, getCategoryProducts and getProduct, all tagged products with an hours-long cacheLife. Repeated unauthenticated invocation of revalidateProducts keeps that cache permanently cold, forcing every visitor's request to read the full product catalog from Postgres instead of serving from cache, degrading storefront availability at near-zero attacker cost.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MarcosCamara01 | Ecommerce Template | before ec97209 | ec97209 | Patch available | CNA |
- Ecommerce Template VendorMarcosCamara01 Affected before ec97209 Fixed in ec97209 Patch available CNA
Remediation
- Fix · CNA Ecommerce Template (MarcosCamara01) Fixed in ec97209
Timeline
- 2026-10-02 Threatist record created from CVE-2026-91154
- 2026-10-03 Alias added: GHSA-v9ch-cf39-43vr
References
More MarcosCamara01 vulnerabilities
- TI-2026-61768 Missing authentication in Ecommerce Template checkout session endpoint allows unauthenticated disclosure of buyer PII CVSS 4.0HIGH 8.2
- TI-2026-79306 Cross-user cart and wishlist modification in Ecommerce Template CVSS 4.0HIGH 7.1
- TI-2026-79299 Price manipulation in MarcosCamara01 Ecommerce Template checkout flow CVSS 4.0HIGH 7.1
Sources
- CVE-2026-91154 · CVE Program
- CVE-2026-91154 · NVD
- FIRST EPSS
- GHSA-v9ch-cf39-43vr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences