NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-119347: Next.js: SVG rejection bypass in the image optimization

mediumCVSS 4.0 6.9GHSA-7qx7-33qx-rqx2

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.

Published Nov 19, 2026

Affected packages

next

Ecosystem
npm
Affected
>= 15.0.0, <= 15.5.28
Fixed in
15.5.29
Check
npm ls next

next

Ecosystem
npm
Affected
>= 16.0.0, <= 16.4.4
Fixed in
16.4.5
Check
npm ls next

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries