freenode

← CVE tracker

CVE-2026-119347

Next.js: SVG rejection bypass in the image optimization

Severity
medium CVSS 6.9 (v4.0)
Affects
next.js · vercel
Weakness
CWE-1287: Improper Validation of Specified Type of Input
Published
16 November 2026 by GitHub_M
Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, the /_next/image optimizer in self-hosted Next.js deployments can process attacker-supplied SVG content even when dangerouslyAllowSVG is false, which is the default. The SVG reaches a parser that the application intended to keep disabled, increasing exposure to denial of service and vulnerabilities in SVG decoding. This issue is fixed in versions 16.4.5 and 15.5.29.

Our coverage

We have not written about this one. Know why it matters? Send a tip.