p PatchFirst

CVE-2026-119347

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

CVSS 6.9 · Medium · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

npm ls next

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, the /_next/image optimizer in self-hosted Next.js deployments can process attacker-supplied SVG content even when dangerouslyAllowSVG is false, which is the default. The SVG reaches a parser that the application intended to keep disabled, increasing exposure to denial of service and vulnerabilities in SVG decoding. This issue is fixed in versions 16.4.5 and 15.5.29.

Published
Updated

Stack: node

Affected products and versions

  • next.js

    Versions
    • >= 15.0.0, < 15.5.29: Affected
    • >= 16.0.0, < 16.4.5: Affected

    No fix published

  • next npm

    Affected ranges
    • SEMVER: ≥ 15.0.0, < 15.5.29

    Update to 15.5.29

  • next npm

    Affected ranges
    • SEMVER: ≥ 16.0.0, < 16.4.5

    Update to 16.4.5

Original sources

Check your server →