CVE-2026-119347: Next.js: SVG rejection bypass in the image optimization
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-7qx7-33qx-rqx2
Summary
A vulnerability in the Next.js image optimization component allows processed SVG files to bypass rejection checks even when SVG support is explicitly disabled. Engineering and security teams managing self-hosted Next.js deployments should update their packages.
Who is affected
Self-hosted Next.js deployments can be forced to process attacker-supplied SVG files through the `/_next/image` endpoint despite `dangerouslyAllowSVG: false` being configured. This exposes the application to denial of service risks and potential SVG decoder vulnerabilities by reaching a parser intended to remain disabled.
Exploitability
The vulnerability is remotely exploitable over the network with low complexity and no privileges or user interaction required, impacting application availability. It carries a CVSS 4.0 base score of medium severity, an EPSS score of 0.003, and is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade npm package next to version 15.5.29
- Upgrade npm package next to version 16.4.5
How to check your project
- Check package.json or lockfiles to determine if the next dependency falls within the affected ranges (15.0.0 to < 15.5.29 or 16.0.0 to < 16.4.5).
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | next |
>= 15.0.0, < 15.5.29 | 15.5.29 | npm install [email protected] |
| npm | next |
>= 16.0.0, < 16.4.5 | 16.4.5 | npm install [email protected] |
Tracked tools affected
Next.js · Next.js security advisories · Fixed in Next.js 15.5.29 release notes · Fixed in Next.js 16.4.5 release notes
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | Low |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What is affected by CVE-2026-119347?
Self-hosted Next.js deployments using vulnerable versions of the npm package 'next' (specifically 15.0.0 through 15.5.28 and 16.0.0 through 16.4.4).
Does setting dangerouslyAllowSVG to false mitigate the issue?
No, the vulnerability allows attacker-supplied SVGs to be processed even when dangerouslyAllowSVG is set to false (the default).
Is this vulnerability actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities data indicates this is not currently listed as actively exploited.
Original advisory description
References
- WEB https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-119347
- WEB https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b
- WEB https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6
- PACKAGE https://github.com/vercel/next.js
- WEB https://github.com/vercel/next.js/releases/tag/v15.5.29
- WEB https://github.com/vercel/next.js/releases/tag/v16.4.5
- WEB https://nextjs.org/blog/november-2026-security-release
Source records: GHSA-7qx7-33qx-rqx2 (OSV.dev) · EPSS by FIRST, 2026-11-26.