# GHSA-7QX7-33QX-RQX2: Next.js: SVG rejection bypass in the image optimization

- Database: GitHub
- Severity: CVSS 6.9 (Medium)
- Published: 2026-11-19
- Modified: 2026-11-19

## Tracked as

- [CVE-2026-119347](https://cve.now/CVE-2026-119347.md): Next.js SVG rejection bypass in image optimizer

## Affected versions

- next (npm): from 15.0.0, fixed in 15.5.29
- next (npm): from 16.0.0, fixed in 16.4.5

## Description

On self-hosted deployments, the Next.js image optimizer (`/_next/image`) can be made to process an attacker-supplied SVG even when SVG support is disabled with `dangerouslyAllowSVG: false` (the default). This reaches an SVG parser the application intended to keep disabled, increasing exposure to denial of service and SVG decoder vulnerabilities.

## References

- https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2
- https://nvd.nist.gov/vuln/detail/CVE-2026-119347
- https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b
- https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6
- https://github.com/vercel/next.js
- https://github.com/vercel/next.js/releases/tag/v15.5.29
- https://github.com/vercel/next.js/releases/tag/v16.4.5
- https://nextjs.org/blog/november-2026-security-release

Page: https://cve.now/GHSA-7QX7-33QX-RQX2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
