Skip to content
NewA calmer, faster ZeroHour

Next.js ImageResponse Vulnerability Lets Remote Attackers Execute Code Through SVG Content

GBHackersby Divya ()2 min read2
Part of a story covered by 2 sourcesNext.js 16.2.0–16.3.5 Node.js ImageResponse RCE via Crafted SVG Input (GHSA-vcvr-r3jv-pc5j / CVE-2026-94545)Merged summary & timeline
AI summary · grok-4.7Summaries by Vani AI

Unauthenticated attackers can execute code on Next.js 16.2.0–16.3.5 servers via crafted SVG in ImageResponse.

A flaw tracked as GHSA-vcvr-r3jv-pc5j in Next.js ImageResponse can let unauthenticated remote attackers execute code by supplying crafted values that are rendered into SVG. It affects the Node.js next/og path in versions 16.2.0 through 16.3.5 when untrusted input reaches SVG content, attributes, or styles via Satori. Vercel released Next.js 16.3.6, with 15.5.26 as related hardening for the 15.x line, and Satori 0.33.5 includes the library fix. Edge ImageResponse and applications that never insert attacker-controlled data are out of scope, and the report does not cite in-the-wild exploitation.

Key facts
  • Unauthenticated RCE affects Next.js 16.2.0 through 16.3.5 Node.js ImageResponse.
  • Attacker-controlled SVG content, attributes, or styles are not properly escaped.
  • Edge ImageResponse and apps that never embed untrusted input are unaffected.
  • Upgrade to Next.js 16.3.6; 15.5.26 hardens 15.x; Satori fixed in 0.33.5.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

2 min read at gbhackers.com

A critical vulnerability in Next. js could let unauthenticated remote attackers execute code on affected servers by supplying crafted input that gets rendered into SVG content during dynamic image generation. This issue, tracked as GHSA-vcvr-r3jv-pc5j, affects the Node.

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.