MEDIUM6.9
GHSA-7qx7-33qx-rqx2
Next.js: SVG rejection bypass in the image optimization
Quick fix
GHSA-7qx7-33qx-rqx2 — next: upgrade to the fixed version with the command below.
npm install next@15.5.29Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-119347[ADVISORY]
- https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b[WEB]
- https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6[WEB]
- https://github.com/vercel/next.js[PACKAGE]
- 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[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/next"]}'