Input validation error in Next.js - CVE-2026-119347
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass SVG processing restrictions and potentially cause a denial of service.
The vulnerability exists due to improper input validation in the Next.js image optimizer (/_next/image) when handling attacker-supplied images. A remote attacker can submit an SVG image that bypasses rejection even when dangerouslyAllowSVG is false, reaching the disabled SVG parser and potentially causing a denial of service.
The issue affects self-hosted deployments.