Request Body Size Limit (limitRequestBody) Missing on Bun, Cloudflare Pages, Netlify Edge, and Vercel Edge Adapters
Description
The Qwik Router adapters for Bun, Cloudflare Pages, Netlify Edge, and Vercel Edge do not apply the framework’s request body size limit before body parsing. Routes that consume request bodies can therefore buffer data into memory without a Qwik-enforced size cap. Node and Deno apply this protection, and AWS Lambda and Firebase inherit it through the Node adapter.
Impact
Affected applications may be vulnerable to excessive memory consumption and denial of service, potentially causing request failures, service degradation, or process termination. The practical impact depends on the hosting platform’s request size limits, available memory, and application access controls. Exposure requires a reachable endpoint that parses request bodies.