GHSA-7qx7-33qx-rqx2Medium

Next.js: SVG rejection bypass in the image optimization

Published
November 19, 2026
Last Modified
November 19, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products2

  • npm/next:>= 15.0.0, <= 15.5.28
  • npm/next:>= 16.0.0, <= 16.4.4

🔗 References (8)