Next.js vulnerability: Poisoned cache could expose sensitive data

Patch this weekDenial of service over the network, no login needed.
7.5HIGH

CVE-2024-46982

Key Information:

Vendor

Vercel

Status
CVE ID
CVE ID:
CVE-2024-46982
Vendor
CVE Published:
17 September 2024
Fixed in
Fixed in:
13.5.1, 13.5.7, 14.0.0, 14.2.10

Timeline

Exploit known 88 days after it was published

  • ๐Ÿ“ฐ

    First article discovered by CybersecurityNews

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

Badges

๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 8,030๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 61%๐Ÿ“ฐ News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (4 proof-of-concepts)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
next.js >= 13.5.1, < 13.5.7 to below 13.5.1, 13.5.7 is vulnerable
next.js >= 14.0.0, < 14.2.10 to below 14.0.0, 14.2.10 is vulnerable

Install the next.js release that fixes your version line, or later:

13.5.1, 13.5.714.0.0, 14.2.10
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach next.js. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed next.js systems for unusual requests or new processes from before you patched. The 4 public proof-of-concepts show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 61.0% chance of exploitation in the next 30 days.
  • Its CVSS severity is high (7.5).

What is CVE-2024-46982?

CVE-2024-46982 is a vulnerability in the Next.js framework, which is used for building full-stack web applications. The flaw occurs in versions 13.5.1 to 14.2.9 when using the pages router with non-dynamic server-side rendered routes. An attacker can exploit this vulnerability by sending a crafted HTTP request that poisons the cache, causing the application to serve cached content that should not be stored. This can lead to the exposure of sensitive data or disrupt website availability.

This vulnerability has been exploited in the wild, allowing attackers to manipulate caching mechanisms and potentially serve malicious payloads to users. It was resolved in Next.js versions 13.5.7 and 14.2.10.

Potential Impact of CVE-2024-46982

  1. Data exposure: Attackers can inject malicious scripts into the cache, leading to stored cross-site scripting (XSS) attacks that steal sensitive user data.

  2. Service disruption: By altering cached content, attackers can serve poisoned responses, disrupting access to affected endpoints and impacting website availability.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

favicon imageCybersecurityNews

Next.js Framework Vulnerability Exposes Websites To Cache Poisoning & XSS Attacks

A critical vulnerability, identified as CVE-2024-46982, has been discovered in the popular Next.js framework, widely used for building full-stack web applications.ย 

References

SVG Injection in Satori Library

CVE-2026-94545
VercelSatori๐Ÿ˜„๐Ÿ‘พ5.3MEDIUM

Path Traversal in Next.js Framework

CVE-2026-75604
VercelNext.js๐Ÿ˜„๐Ÿ‘พ9CRITICAL

Server-Side Request Forgery in Next.js

CVE-2026-44578
VercelNext.js๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ8.6HIGH
View more Vercel vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

61% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.