9.5

GHSA-VCVR-R3JV-PC5J: next Npm

Published
Published 30-09-2026Last modified 01-10-2026

Vulnerability summary

GHSA-VCVR-R3JV-PC5J is a critical (CVSS 9.5) vulnerability in next Npm.

Priority
Prioritisesevere

Severe, CVSS 9.5 (OSV · Npm); no exploitation reported by the 5 checked sources; EPSS not yet published

Source freshness unavailable

How is this decided?
CVSS score
9.5/10
010
Critical · v4.0 (OSV · Npm), selected by version preference
EPSS scoreNot scoredRisk metrics not yet published.
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 1

Timeline

  1. 30-09-2026
    PublishedVulnerability first disclosed.
  2. 01-10-2026
    Last modifiedVulnerability information updated.

Description

Next.js: Remote Code Execution in next/og ImageResponse ## Impact The Node.js `ImageResponse` implementation from `next/og` is affected by an upstream vulnerability. This can lead to remote code execution. Affected applications pass attacker-controlled values into SVG content, attributes, or styles during image generation: ```tsx import { ImageResponse } from 'next/og' export async function GET(request: Request) { const value = new URL(request.url).searchParams.get('value') ?? '' return new ImageResponse( <svg width="1200" height="630"> <title>{value}</title> </svg> ) } ``` Applications using the Edge `ImageResponse` implementation, or applications that do not pass attacker-controlled values into SVG content, attributes, or styles, are not affected. ## Workaround If upgrading is not immediately possible, do not pass attacker-controlled values into SVG content, attributes, or styles rendered by the Node.js `ImageResponse` implementation from `next/og`.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

No EPSS score has been published for this record yet.

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • next≥ 16.2.0, < 16.3.6

1 vendor · 1 product

References

5 links