Next.js: SVG rejection bypass in the image optimization
CVE-2026-119347Published 16 Nov 2026, 18:25 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 15.0.0, < 15.5.29; >= 16.0.0, < 16.4.5 | 15.5.29, 16.4.5 |
What to do
Update to a fixed version: 15.5.29, 16.4.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 3 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-1287
References
- https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2vendor-advisory
- https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41bmisc
- https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6misc
- https://github.com/vercel/next.js/releases/tag/v15.5.29misc
- https://github.com/vercel/next.js/releases/tag/v16.4.5misc
- https://nextjs.org/blog/november-2026-security-releasemisc
- CVE-2026-119347 on CVE.org