Next.js Framework 16.2.x / 16.3.x < 16.3.6 RCE

critical Nessus Plugin ID 362680

Synopsis

The Next.js Framework on the remote host is affected by a remote code execution vulnerability.

Description

The Next.js Framework on the remote host is affected by a remote code execution vulnerability:

- The Node.js ImageResponse implementation from next/og is affected by an upstream Satori vulnerability.
Satori does not properly escape certain values before including them in generated SVG output, which can allow crafted values to be interpreted as SVG markup. Applications that pass attacker-controlled values into SVG content, attributes, or styles during image generation can be led to remote code execution.
(CVE-2026-94545)

Exploitation additionally requires that the application uses the Node.js ImageResponse implementation from next/og and passes attacker-controlled values into SVG content, attributes, or styles. Applications using the Edge ImageResponse implementation are not affected. Nessus cannot verify how the application invokes ImageResponse, so this finding is reported as a potential vulnerability.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Next.js Framework version 16.3.6 or later.

See Also

https://github.com/vercel/next.js/releases/tag/v16.3.6

http://www.nessus.org/u?9e5d1ebc

http://www.nessus.org/u?b408c079

Plugin Details

Severity: Critical

ID: 362680

File Name: nextjs_framework_CVE-2026-94545.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 10/2/2026

Updated: 10/2/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.7

Percentile: 98.93

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-94545

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS v4

Risk Factor: Critical

Base Score: 9.5

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Vulnerability Information

CPE: cpe:/a:vercel:next.js

Required KB Items: Host/nodejs/modules/enumerated

Patch Publication Date: 9/22/2026

Vulnerability Publication Date: 9/22/2026

Reference Information

CVE: CVE-2026-94545

IAVA: 2026-A-1079