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

Published Nov 16, 2026
·
Updated

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.

Affected Software

1 affected component
Vercel Next.js>=15.0.0<15.5.29, >=16.0.0<16.4.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.4.5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.5.29

Event History

Nov 16, 2026
CVE Published
via MITRE·06:25 PM
Data Sourced
via MITRE·06:25 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Self-hosted Next.js deployments using the /_next/image optimizer are affected if they run versions from 15.0.0 through 15.5.28, or versions before 16.4.5 in the 16.x line.

2

Is the default configuration affected?

Yes. The bypass can process attacker-supplied SVG content even when dangerouslyAllowSVG is false, which is the default setting.

3

What does an attacker need to exploit this issue?

An attacker needs to supply SVG content that is processed by the /_next/image optimizer. Successful processing reaches an SVG parser that the application intended to keep disabled.

4

What is the impact of the SVG reaching the parser?

It increases exposure to denial-of-service conditions and vulnerabilities in SVG decoding.

5

How is the issue remediated?

Upgrade to Next.js 15.5.29 or 16.4.5, which contain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203