Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityopen-source-dependency-vulnerabilitywidely-deployed-product-advisory

Critical Next.js ImageResponse SVG Flaw Enables Server Code Execution

Vulnerability Disclosure · 3 sources · Updated 2mo ago · First seen Sep 23, 2026

Critical Next.js ImageResponse SVG Flaw Enables Server Code Execution

A critical vulnerability, CVE-2026-94545, enables unauthenticated remote code execution in the Node.js implementation of Next.js ImageResponse/next/og when applications place attacker-controlled values into server-generated SVG elements, attributes, or styles. The issue stems from Satori failing to safely handle unescaped SVG output, allowing crafted input submitted through exposed parameters, forms, or APIs to potentially execute code on the image-generation server.

Vercel fixed the flaw in Next.js 16.3.6; versions 16.2.0 through 16.3.5 are affected. Next.js 15 and Edge-runtime ImageResponse deployments are not vulnerable, and Node.js deployments that never render untrusted data into SVG are not exposed through this condition. Organizations should identify affected installations and upgrade immediately; direct Satori users should update to 0.33.5. No public exploitation or exploit code had been reported at the time of disclosure.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Mar 18, 2026 – Sep 22, 2026
  1. Reported Sep 23, 20262mo ago

    Satori publishes advisory and version 0.33.5 update

    Satori published an advisory for CVE-2026-94545 and released version 0.33.5 for direct users. The underlying issue involves values reaching generated SVG output without proper escaping.

    Critical Next.js ImageResponse Flaw Can Lead to Server Code Execution via Crafted SVG Input
  2. Reported Sep 23, 20262mo ago

    Researchers report CVE-2026-94545 in Next.js ImageResponse

    Security researchers RaghavMaheshwari124 and rafabd1 reported CVE-2026-94545, a critical flaw in Node.js ImageResponse/next/og that can permit server-side code execution when attacker-controlled values are rendered into SVG content, attributes, or styles.

    Critical Next.js ImageResponse Flaw Can Lead to Server Code Execution via Crafted SVG Input
  3. Sep 22, 20262mo ago

    Vercel releases Next.js 16.3.6 security fix

    Vercel fixed CVE-2026-94545 in Next.js 16.3.6. The flaw affects Next.js 16.2.0 through 16.3.5 on the Node.js runtime; Next.js 15 and Edge ImageResponse are not affected.

    Critical Next.js ImageResponse Flaw Can Lead to Server Code Execution via Crafted SVG Input
  4. Mar 18, 20268mo ago

    Next.js 16.2 introduces affected ImageResponse versions

    Affected Next.js releases became available with the release of Next.js 16.2. Versions 16.2.0 through 16.3.5 contain the vulnerable Node.js ImageResponse implementation.

    Critical Next.js ImageResponse Flaw Can Lead to Server Code Execution via Crafted SVG Input
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Next.Js
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.