Advisories
For your digest

Next.js image optimization can be made to accept SVG files it should reject (CVE-2026-119347)

Say this is wrong

I keep which words you mean and your note, for 90 days at the most, and not your address or anything about your device.

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

next (npm)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • next (npm): from 15.0.0, before 15.5.29
  • next (npm): from 16.0.0, before 16.4.5

The fix

  • next (npm) fixed in 15.5.29

    npm
    npm install next@15.5.29
    pnpm
    pnpm add next@15.5.29
    yarn
    yarn add next@15.5.29
    bun
    bun add next@15.5.29
    Check what is installed
    npm ls next
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency next to 15.5.29 or the nearest later release, to fix CVE-2026-119347. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • next (npm) fixed in 16.4.5

    npm
    npm install next@16.4.5
    pnpm
    pnpm add next@16.4.5
    yarn
    yarn add next@16.4.5
    bun
    bun add next@16.4.5
    Check what is installed
    npm ls next
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency next to 16.4.5 or the nearest later release, to fix CVE-2026-119347. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

An attacker can send an SVG file to the image optimization feature in `next`, getting past the check that is meant to reject SVG files. The advisory's title describes this as a bypass of that rejection, and the record does not say what the accepted SVG then does.

Anyone who runs the `next` npm package on one of the versions the record names: 15.0.0, 15.5.29, 16.0.0 or 16.4.5. The fixed releases named are 15.5.29 and 16.4.5. Whether a particular install is affected depends on its own version.

Confidence: high. The record names each affected package, its versions and the release that fixes it.

Explanation written by Auto from the sources below, and checked against the facts.

Say this is wrong

I keep which words you mean and your note, for 90 days at the most, and not your address or anything about your device.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".