UNKNOWN npm

Next.js missing cache-control header may lead to CDN caching empty reply

GHSA-c59h-r6p8-q9wc · CVE-2023-46298

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached by a CDN, causing a denial of service to all users requesting the same URL via that CDN. Cloudflare considers these requests cacheable assets.

Ready to move

Start Securing

Free, no credit card | First findings in minutes