Authorized Audit of Serverless Web Store Uncovers Logic Flaws and Clickjacking Risk
A security researcher conducted an authorized audit of a small e-commerce store hosted on Vercel, discovering it was a React and Vite single-page application with no backend, database, or API endpoints. Without a server-side attack surface, the auditor shifted focus to business logic, finding that altering product IDs in certain flows made sold-out items accessible and allowed them to be added to shareable cart URLs. The store also lacked X-Frame-Options and Content-Security-Policy headers, meaning it could be embedded in a third-party iframe and overlaid with deceptive content. Combined, these vulnerabilities could enable price or availability confusion, visual impersonation, and reputational harm for the store owner. The issues were resolved by adding anti-framing headers and enforcing availability validation on every cart flow, with the researcher confirming the fixes by retesting the attacks.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in