cvelo
P3 · MediumCVSS 6.9EPSS 0.4%

Next.js: SVG rejection bypass in the image optimization

  • CVE-2026-119347
  • GHSA-7qx7-33qx-rqx2

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.

Text from the GitHub Advisory record.

Affected

  • nextnpm

    • from 15.0.0, up to 15.5.28
    • from 16.0.0, up to 16.4.4

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.