Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-46982

Next.js Cache Poisoning

Overview

Published
17 Sep 2024
Modified
17 Jun 2026
High CVE
1 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

Description

Next.js is a React framework for building full-stack web applications. By sending a crafted HTTP request, it is possible to poison the cache of a non-dynamic server-side rendered route in the pages router (this does not affect the app router). When this crafted request is sent it could coerce Next.js to cache a route that is meant to not be cached and send a Cache-Control: s-maxage=1, stale-while-revalidate header which some upstream CDNs may cache as well. To be potentially affected all of the following must apply: 1. Next.js between 13.5.1 and 14.2.9, 2. Using pages router, & 3. Using non-dynamic server-side rendered routes e.g. pages/dashboard.tsx not pages/blog/[slug].tsx. This vulnerability was resolved in Next.js v13.5.7, v14.2.10, and later. We recommend upgrading regardless of whether you can reproduce the issue or not. There are no official or recommended workarounds for this issue, we recommend that users patch to a safe version.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-639

Affected packages · 1

Packages affected by CVE-2024-46982
EcosystemPackageVulnerableFixed in
npm next >=13.5.1, <13.5.7>=14.0.0, <14.2.10 13.5.714.2.10

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

chainguard 1 release · 1 package

fixed 1
jitsucom-jitsu
chainguard fixes for CVE-2024-46982
ReleasePackageFixed in
jitsucom-jitsu 2.8.2-r1

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2024-46982
ReleasePackageFixed in
trigger-dev 4.5.0-r0

wolfi 1 release · 1 package

fixed 1
jitsucom-jitsu
wolfi fixes for CVE-2024-46982
ReleasePackageFixed in
jitsucom-jitsu 2.8.2-r1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.