NetSight
medium6.9

CVE-2026-119347

Next.js: SVG rejection bypass in the image optimization

Impact

On self-hosted deployments, the Next.js image optimizer (`/_next/image`) can be made to process an attacker-supplied SVG even when SVG support is disabled with `dangerouslyAllowSVG: false` (the default). This reaches an SVG parser the application intended to keep disabled, increasing exposure to denial of service and SVG decoder vulnerabilities.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
npmnext>= 15.0.0, <= 15.5.2815.5.29

Affected products · Vercel

ProductAffected versions
Next.js
from 15.0.0, before 15.5.29
from 16.0.0, before 16.4.5

Weakness classification

References