Next.js denial of service risk in SVG image optimization
vercel next.js
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| next npm |
|
|
Original description
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.
From the CVE record · GitHub_M
References
- github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2
- github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b
- github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6
- github.com/vercel/next.js/releases/tag/v15.5.29
- github.com/vercel/next.js/releases/tag/v16.4.5
- nextjs.org/blog/november-2026-security-release
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119347.json
- nvd.nist.gov/vuln/detail/CVE-2026-119347
- github.com/vercel/next.js