Back to Research blog

Advisory: Next.js SSRF (CVE-2024-34351)

Share on social

May 9, 2024

Lorem ipsum

Table of Contents

Summary

A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the Host header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. An attacker is able to read the full HTTP response when successfully exploiting this SSRF issue.

Impact

An attacker can make arbitrary requests to URLs and read the full HTTP response made through these requests. As the requests originate from the server, an attacker could leverage this bug to access the internal network or metadata IPs for privilege escalation.

Affected Software

Next.js >=13.4 <14.1.1

Product Description

Next.js is an open-source web development framework created by the private company Vercel providing React-based web applications with server-side rendering and static website generation.

Solution

Upgrade to Next.js 14.1.1.

Blog Post

The blog post for this issue can be found here.

Credits

Shubham Shah - Assetnote Security Research Team

Adam Kues - Assetnote Security Researcher

Shubham Shah

Author

Shubham Shah

Chief Security Research Officer at Searchlight Cyber

Shubham Shah is Chief Security Research Officer, having joined Searchlight Cyber following the acquisition of Assetnote, where he was Co-Founder and CTO. Shubham leads the global security research team whose findings feed directly into Searchlight Exposure – surfacing zero-day vulnerabilities in the tools organisations rely on, often months ahead of public disclosure. He remains a prolific bug bounty hunter ranked in the top 50 hackers on HackerOne, and has presented at various industry events including QCon London, Kiwicon, AusCert, BSides Canberra, and CrikeyCon.

Adam Kues

Author

Adam Kues

Security Researcher at Searchlight Cyber

Explore related Content

Research

Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal

November 24, 2026

Research

Cache Me If You Can: XSS in Cloudflare's /cdn-cgi/image/

October 28, 2026

Research

High Fidelity Detection Mechanism for php2shell (CVE-2026-109618 and CVE-2026-109619)

October 22, 2026

Research

How practical is 100k requests per second? Introducing h3fuzz

October 20, 2026

Research

More Critical Bugs in Adobe Experience Manager: Pre-Auth RCE

October 15, 2026

Research

Leaking the Keys to the Kingdom: How a Single Slip Handed Over a Darknet Empire

October 8, 2026