Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Former Polish Police Officer Charged as Zondacrypto Probe Searches Fuel Depot

    September 23, 2026

    This new concrete is stronger and pulls CO2 from the air

    September 23, 2026

    Allseas books ABL for 60,000-ton topside single-lift ops in next North Sea decom chapter

    September 23, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Former Polish Police Officer Charged as Zondacrypto Probe Searches Fuel Depot
    • This new concrete is stronger and pulls CO2 from the air
    • Allseas books ABL for 60,000-ton topside single-lift ops in next North Sea decom chapter
    • The Consumer Financial Protection Bureaus’ Business-Friendly Move — ProPublica
    • What Machiavelli Would Say About Trump
    • Israel blasts ‘grotesque absurdity’ of Macron’s UN remarks on West Bank
    • Farmers’ race for £233m funding like ‘scramble for Oasis tickets’
    • UK to launch military squadron to protect satellites in space | Defence policy
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Wednesday, September 23
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    Critical Next.js ImageResponse Flaw Can Lead to Server Code Execution via Crafted SVG Input

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKSeptember 23, 2026 Cybersecurity No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Swati KhandelwalSep 23, 2026Vulnerability / Web Security

    A new security vulnerability in Next.js could allow attackers to run code on a server via ImageResponse, the feature that generates Open Graph and other social preview images, Vercel said.

    The risk applies when an app puts values an attacker controls, such as text read from the request URL, into the image. Vercel, which develops Next.js, fixed the flaw on September 22 in version 16.3.6.

    The flaw, tracked as CVE-2026-94545, affects Next.js 16.2.0 through 16.3.5 when ImageResponse runs on the Node.js runtime, which Next.js uses by default. Vercel’s advisory rates it critical, with a CVSS score of 9.5. The Edge version of ImageResponse is not affected, and neither is Next.js 15.

    ImageResponse uses Satori, a Vercel library, to convert the image layout into SVG code before the final PNG is generated. Affected apps are those that “pass attacker-controlled values into SVG content, attributes, or styles during image generation”, according to the advisory.

    Cybersecurity

    The advisory’s example takes a value from the request URL and places it inside an SVG title element. It does not say whether text in ordinary elements, such as a heading inside a div, also counts.

    To find where an app uses the feature, look for ImageResponse imported from next/og, for example in route handlers and in opengraph-image files. Route handlers make the image when a request arrives. An opengraph-image file can make it at build time or when a request arrives.

    As of September 23, The Hacker News found no public reports of attacks using the flaw and no public exploit code.

    The fix is Next.js 16.3.6, the only patched version, installed with npm install next@16.3.6. As of September 23, the npm registry listed no fixed release for the 16.2 line, so apps on 16.2 need to move to 16.3.6. Next.js 15.5.26 adds extra security hardening for next/og on the 15.5 line.

    If upgrading has to wait, the advisory’s workaround is to keep attacker-controlled values out of the SVG content, attributes, and styles that the Node.js ImageResponse renders. The advisory does not suggest switching to the unaffected Edge version, and the Next.js documentation marks the Edge runtime as deprecated.

    In checks by The Hacker News on September 23, npm audit did not flag Next.js 16.3.5, an affected version. The advisory was also not yet listed in the GitHub Advisory Database, and no CVE record for CVE-2026-94545 had been published.

    Check the Next.js version directly. Satori is bundled inside the Next.js package, so a lockfile does not list it as a dependency of Next.js.

    Cybersecurity

    Vercel’s advisory and announcement do not say whether apps hosted on Vercel are protected. For two critical Next.js flaws fixed in August, the company said hosted apps were protected and needed no upgrade.

    Vercel’s advisory and announcement also provide no way to check whether an affected route was abused before the patch. Affected versions have been available since Next.js 16.2 was released on March 18.

    The bug itself is in Satori. Satori’s own advisory, published the same day, says certain values reached its SVG output without being properly escaped. A specially made value could then be read as SVG code instead of plain text.

    In Next.js, such values could reach vulnerabilities in other libraries that Next.js depends on and lead to code execution, Vercel said. It has not named those libraries.

    Satori’s advisory rates the same CVE as moderate, with a score of 5.3, and says the impact depends on how the SVG output is used. Developers who use Satori directly should update it to version 0.33.5, which has the fix.

    Code Crafted critical Execution Flaw ImageResponse Input lead Next.js server SVG
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    F5 patches BIG-IP APM zero-day flaw exploited in RCE attacks

    Ryuk ransomware member sentenced to 24 months in prison

    ShinyHunters Claims FBI Breach, Says It Stole Data on Agents and Job Applicants

    Check Point warns of Management Server zero-day exploited in attacks

    Malicious npm Package Poses as Twilio Bug-Bounty Probe, Can Exfiltrate Credentials

    Only 13% of OT Network Segments Are Fully Isolated: Analysis

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Former Polish Police Officer Charged as Zondacrypto Probe Searches Fuel Depot

    September 23, 2026

    This new concrete is stronger and pulls CO2 from the air

    September 23, 2026

    Allseas books ABL for 60,000-ton topside single-lift ops in next North Sea decom chapter

    September 23, 2026

    The Consumer Financial Protection Bureaus’ Business-Friendly Move — ProPublica

    September 23, 2026
    Latest Posts

    COLDCARD security audit phishing attack installs remote access tool

    August 5, 2026

    Reddit aims to make ‘karma’ less important for first-time posters with shift to AI moderation tools

    August 5, 2026

    Right turn on green: is the Telegraph changing its tune on the climate? | Daily Telegraph

    August 5, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Former Polish Police Officer Charged as Zondacrypto Probe Searches Fuel Depot

    September 23, 2026

    This new concrete is stronger and pulls CO2 from the air

    September 23, 2026

    Allseas books ABL for 60,000-ton topside single-lift ops in next North Sea decom chapter

    September 23, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.