9.5

GHSA-VCVR-R3JV-PC5J: next Npm

CVSS: 9.5v4.0CriticalPublished
Published 30-09-2026Last modified 01-10-2026

Vulnerability summary

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

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.5/10
010
Critical · v4.0 (OSV · Npm), selected by version preference
EPSS score
Not scored
0%100%
No EPSS score yet
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Npm1 product
  • next≥ 16.2.0, < 16.3.6

1 vendor · 1 product

References

5 links