CVE-2023-46298
Next.js missing cache-control header may lead to CDN caching empty reply
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2023-46298- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-46298- Updated
- 2026-11-02
EUVDEUVD-2023-2714 No score
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.
- Record
EUVD-2023-2714- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c59h-r6p8-q9wc No score
Next.js missing cache-control header may lead to CDN caching empty reply
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.
- Record
GHSA-c59h-r6p8-q9wc- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-46298- Updated
- 2026-11-02
OSVGHSA-c59h-r6p8-q9wc No score
Next.js missing cache-control header may lead to CDN caching empty reply
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.
- Record
GHSA-c59h-r6p8-q9wc- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nextnpm |
0.9.9 up to 13.4.20-canary.13 | 13.4.20-canary.13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-46298 is a high vulnerability (CVSS 7.5) in Vercel Next.js, published October 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.61%, the 76th percentile. Fixed in next 13.4.20-canary.13.
References
github.com/vercel/next.js/pull/54732
github.com/vercel/next.js/issues/45301
github.com/vercel/next.js/compare/v13.4.20-canary.12...v13.4.20-canary.13
nvd.nist.gov/vuln/detail/CVE-2023-46298
github.com/vercel/next.js/commit/20d05958ff853e9c9e42139ffec294336881c648
github.com/advisories/GHSA-c59h-r6p8-q9wc
github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46298.json
github.com/vercel/next.js